|
|
|
|
АРХИВ :: nginx-ru
|
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: alias issue again
On Monday 05 December 2011 14:58:07 yokodzun wrote:
[...]
> 2011/12/05 17:42:13 [debug] 4809#0: *1 http script copy:
> "SCRIPT_FILENAME"
> 2011/12/05 17:42:13 [debug] 4809#0: *1 http script copy:
> "/usr/local/www/phpMyAdmin"
[...]
Ну а вы данное изменение внесли?
-fastcgi_param SCRIPT_FILENAME /usr/local/www/phpMyAdmin$script_name;
+fastcgi_param SCRIPT_FILENAME /usr/local/www/phpMyAdmin/$script_name.php;
Есть разница между:
/usr/local/www/phpMyAdmin$script_name
и
/usr/local/www/phpMyAdmin/$script_name
В случае
location ~ ^/pma/(?<script_name>.+)\.php$ {
слеша в начале $script_name не будет.
--
Валентин Бартенев
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|
|
|