Convert lighttpd rewrite rule to nginx

justin nginx-forum at nginx.us
Thu Jul 26 07:23:00 UTC 2012


Yeap, both:

sudo -u php ls /path/to/php/file.php

and 

sudo -u php cat /path/to/php/file.php

Work. However, took a peak at the error log and found this:

2012/07/25 23:05:12 [error] 1040#0: *1 FastCGI sent in stderr: "Access
to the script '/srv/www/domains/app.mydomain.com/' has been denied (see
security.limit_extensions)" while reading response header from upstream,
client: XXX.XXX.XXX.91, server: app.mydomain.com, request: "GET /
HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host:
"app.mydomain.com"

Any idea what that means?

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



More information about the nginx mailing list