Check if php-file exists in chroot jail
maverick78
nginx-forum at nginx.us
Thu Mar 22 09:24:10 UTC 2012
Ops, sorry. It's www. Tht was a fault of mine and I corrected it. But
it's the same result. Every .php-page shows 404 not found. And the
dubug-log only complains about the favicon that cannot be found. But the
file hello.php (a hello world script) definitely exists.
2012/03/22 10:08:40 [notice] 2900#0: *3 "^(GET|HEAD|POST)$" matches
"GET", client: 127.0.0.1, server: www.example.com, request: "GET
/hello.php HTTP/1.1", host: "www.example.com"
2012/03/22 10:08:40 [notice] 2900#0: *2 "^(GET|HEAD|POST)$" matches
"GET", client: 127.0.0.1, server: www.example.com, request: "GET
/favicon.ico HTTP/1.1", host: "www.example.com"
2012/03/22 10:08:40 [error] 2900#0: *2 open()
"/www/example.com/public/favicon.ico" failed (2: No such file or
directory), client: 127.0.0.1, server: www.example.com, request: "GET
/favicon.ico HTTP/1.1", host: "www.example.com"
root at localhost:/var/log/nginx#
Thanks for your attention. But I think, I have to find another way of
chrooting or abandon it.
Nginx is great. There is no alternative for me. For example the
gzip-static module has no competition. ;-)
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,224182,224214#msg-224214
More information about the nginx
mailing list