haha yup - that was it! Just tweaked the config for it, and it works
perfectly. Still got some fun and games to do with the modules that need
installing- but at least I can finally access it from the browser, to test
it all.
Thanks again!
Andy
Posted at Nginx Forum:
http://forum.nginx.org/read.
Hi,
Ah now I feel like a total muppet!
I had:
fastcgi_param SCRIPT_FILENAME
/srv/www/site.net/www/cgi-bin/$fastcgi_script_name;
but it wasn't in the cgi-binIt should have been:
fastcgi_param SCRIPT_FILENAME /srv/www/site.net/www/$fastcgi_script_name;
Reboot it, and it works fine now.,
Hi Fancis,
Thanks for the reply!
> What is shown when you "diff" the working old nginx.conf and the failing
> new nginx.conf?
Not a huge amount tbh. The live one has:
pid /var/run/nginx.pid;
and new dev has:
pid /run/nginx.pid;
New one has:
##
# SSL Settings
##
FWIW - this is what I get when I run it via SSH:
root@server:/var/run# perl /srv/www/site.net/www/index.pl
Content-Type: text/html
FOO
...yet I get a 403 in the browser (and nothing in the site error_log)
TIA
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,260678,260681#msg-260681
_
Hi,
I've already got a live + dev site running under nginx and perl (with fcgi),
but I can't for the life of me work out why its not working this time
around. I've setup a new dev server. I wont bore you with all of the
details, but suffice to say I have installed (via apt-get);
sudo apt-get