Welcome! Log In Create A New Profile

Advanced

nginx, alias и php-fastcgi

bas
October 12, 2009 01:46PM
Ситуация следующая:
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 ]
Subject Author Posted

nginx, alias и php-fastcgi

bas October 12, 2009 01:46PM

Re: nginx, alias и php-fastcgi

Sky Cat October 12, 2009 02:04PM

Re: nginx, alias и php-fastcgi

bas October 12, 2009 02:18PM

Re: nginx, alias и php-fastcgi

bas October 12, 2009 02:26PM

Re: nginx, alias и php-fastcgi

Sky Cat October 12, 2009 02:42PM

Re: nginx, alias и php-fastcgi

bas October 12, 2009 03:00PM

Re: nginx, alias и php-fastcgi

Vitaliy Lisenko October 12, 2009 03:02PM

Re: nginx, alias и php-fastcgi

bas October 12, 2009 03:18PM

Re: nginx, alias и php-fastcgi

Роман Москвитин October 12, 2009 03:04PM

Re: nginx, alias и php-fastcgi

Igor Sysoev October 12, 2009 02:42PM

Re: nginx, alias и php-fastcgi

bas October 12, 2009 03:00PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 241
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready