Hi.
I use alias to redirect a request:
location /foo {
alias /home/bar;
}
my config for php is:
location ~ \.php$ {
root /var/www;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME /var/www$fastcgi_script_name;
}
So, if I browse to a php file in the root of the webserver (/var/www/file.php) everything works. But if I go to the "foo" directory (and nginx redirect to /home/bar) I get "No input file specified."
Nginx error log says nothing.