ðòïåëôù 


  áòèé÷ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  óôáôøé 


  ðåòóïîáìøîïå 


  ðòïçòáííù 



ðéûéôå
ðéóøíá












     áòèé÷ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nginx, alias É php-fastcgi




÷ÙÌÅÞÉÌ ÐÒÉÍÅÒÎÏ ÔÁË:
location /pma/ {
š alias /usr/local/www/phpMyAdmin/;
š index index.php index.html;
}
location ~ ^/pma/.*\.php$ {
š rewrite ^/pma(/.*)$ $1 break;
š fastcgi_pass unix:/tmp/php.sock;
š fastcgi_index index.php;
š fastcgi_param SCRIPT_FILENAME /usr/local/www/phpMyAdmin$fastcgi_script_name;
š include fastcgi_params;
š fastcgi_param DOCUMENT_ROOT /usr/local/www/phpMyAdmin;
}

Ô.Å. ÄÏÂÁ×ÉÌ rewrite, ÏÂÒÅÚÁÀÝÉÊ /pma
åÓÔØ ÌÉ ÓÐÏÓÏÂ ÌÕÞÛÅ?



 




Copyright © Lexa Software, 1996-2009.