Hello,
I am running CentOS 5.5 with Nginx 0.7* with spawn-cgi init script (using fastcgi).
I have the folowing problem, I get a No Input file specified when I am requesting an alias folder which has an index.php and running FCGI.
My webroot is /var/www/simone/Webroot
My alias with FCGI is set up like this:
location ~ ^/gallery/(.*\.php)$ {
alias /var/www/simone/SimpleViewer/$1;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_read_timeout 240;
fastcgi_param SCRIPT_FILENAME /var/www/simone/SimpleViewer$fastcgi_script_name;
include fastcgi_params;
}
location ~ ^/gallery($|/.*) {
alias /var/www/simone/SimpleViewer$1;
index index.php index.htm index.html;
}
}
But I get the error No Input file specified.
How can I alias /gallery/ to var/www/simone/SimpleViewer and run index.php from it?
Regards,
Michiel