Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nginx+fascgi alias не работает
On Thu, Jul 01, 2010 at 06:28:24AM -0400, shuha wrote:
> Посмотрел в логах...
> [client localhost] File does not exist: /home/public_html/n, referer:
> http://localhost/n/
>
> Может первый алиас перетирает
> нижеследующий?
>
> location / {
> root /home/public_html;
> index index.html index.htm index.php;
> }
> location ~ \.php$ {
> include fastcgi.conf;
> fastcgi_pass 127.0.0.1:11000;
> fastcgi_index index.php;
> fastcgi_param SCRIPT_FILENAME
> /home/public_html$fastcgi_script_name;
> }
> location /n {
> root /var/www/html;
> include fastcgi.conf;
> fastcgi_pass 127.0.0.1:11000;
> fastcgi_index index.php;
> fastcgi_param SCRIPT_FILENAME
> /var/www/html/test.php;
> }
- fastcgi_param SCRIPT_FILENAME /var/www/html/test.php;
+ fastcgi_param SCRIPT_FILENAME /home/public_html/test.php;
--
Игорь Сысоев
http://sysoev.ru
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|