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 не работает
Посмотрел в логах...
[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;
}
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,104149,104215#msg-104215
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|