symlink in nginx problem

soogoomoo nginx-forum at
Fri Jan 7 10:35:31 MSK 2011

I use symlink in my perl script.
|| &Send("ERROR:sym_create_failed");

It runs smooth in apache.But it aways get 500 or 504 in nginx.
here is my nginx configuration:
location ~ .*\.cgi$ {
 gzip off;
fastcgi_index index.cgi;
fastcgi_param PATH_INFO $fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME /home/www/website$fastcgi_script_name;
include scgi_params;

I made my perl cgi run under www:www.
And my perl script also under www:www.

But why i always return 500 or 504 ?  Is that mean symlink can't run in

Please help,best regards.

Posted at Nginx Forum:,164271,164271#msg-164271

More information about the nginx mailing list