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 åÓÔØ ÌÉ ÓÐÏÓÏ ÌÕÞÛÅ?
|