Re: nginx, alias и php-fastcgi

Sky Cat skysecret at gmail.com
Mon Oct 12 21:57:00 MSD 2009


Может быть я чего-то не понимаю, но почему бы просто папку с PhpMyAdmin не
переименовать в pma?

12 октября 2009 г. 21:34 пользователь bas <bas at it-core.org> написал:

> Ситуация следующая:
> phpMyAdmin в /usr/local/www/phpMyAdmin
> Хочу, чтобы он был доступен по http://my.server/pma/
> Пробую вот так:
> location /pma/ {
>   alias /usr/local/www/phpMyAdmin/;
>   index index.php index.html;
> }
> location ~ ^/pma/.*\.php$ {
>   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;
> }
>
> получаю ошибку "No input file specified."
> bas
> [ icq:# 344045 ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20091012/f63ecd25/attachment.html>


More information about the nginx-ru mailing list