Welcome! Log In Create A New Profile

Advanced

Re: Check if php-file exists in chroot jail

March 22, 2012 05:24AM
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@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. ;-)
Subject Author Posted

Check if php-file exists in chroot jail

maverick78 March 21, 2012 10:05AM

Re: Check if php-file exists in chroot jail

Valentin V. Bartenev March 21, 2012 12:16PM

Re: Check if php-file exists in chroot jail

maverick78 March 21, 2012 01:10PM

Re: Check if php-file exists in chroot jail

Valentin V. Bartenev March 21, 2012 03:00PM

Re: Check if php-file exists in chroot jail

Francis Daly March 21, 2012 03:02PM

Re: Check if php-file exists in chroot jail

maverick78 March 21, 2012 05:22PM

Re: Check if php-file exists in chroot jail

Francis Daly March 21, 2012 07:24PM

Re: Check if php-file exists in chroot jail

maverick78 March 22, 2012 05:24AM

Re: Check if php-file exists in chroot jail

Francis Daly March 22, 2012 02:48PM

Re: Check if php-file exists in chroot jail

maverick78 March 22, 2012 04:17PM

Re: Check if php-file exists in chroot jail

Volodymyr Kostyrko March 24, 2012 12:32PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 63
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready