Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rewrite и location (apach => nginx)
Не срабатывает. nginx 0.8.5.4
Вот конфиг весь:
root /home/sayt/www;
index index.php index.html;
location =/ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME
$document_root/scripts/$fastcgi_script_name;
include fastcgi_params;
}
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME $document_root/scripts$uri;
include fastcgi_params;
}
Заходим на http://sayt.ru/ и видим No input file
specified.
Заходим на http://sayt.ru/scripts/ и все работает.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,189041,189667#msg-189667
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|