Perl + fcgi + nginx - what am I doing wrong?

youradds nginx-forum at nginx.us
Fri Jul 31 18:55:02 UTC 2015


Hi,

Aaaaah 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-bin!!!!It should have been:

fastcgi_param SCRIPT_FILENAME /srv/www/site.net/www/$fastcgi_script_name;

Reboot it, and it works fine now., That'd be whyit was 403'ing... as it
couldn't find the file. Duh!

Thanks for sticking through this with me. I've been battling that for hours.
Always so simple when you know the answer ;)

Cheers

Andy

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260678,260687#msg-260687



More information about the nginx mailing list