Project

General

Profile

Lighttpd with chroot jail

Added by maxBirdy over 14 years ago

i followed the tutorial on this page http://www.cyberciti.biz/tips/howto-setup-lighttpd-php-mysql-chrooted-jail.html

i did exactly as it said, i also ran it all as the root user (i hope this isnt my problem)

my OS: latest updated debian 5
my configuration, exactly like the above tutorial, only im using newer software.

here is my comment to wich i got no response, even emails i sent where replyed to with little help to me in them

i run through this whole tutorial
i make sure that /home/lighttpd/ is the root dir
and that /webroot is the chroot jail
then i restart lighty
all is good, and it restarts without any errors
then i type in, 127.0.0.1, or 192.168.1.8, firefox goes “Firefox can’t establish a connection to the server at x.x.x.x” my port 80 is forwarded, but when i go to canyouseeme.org, it says port 80 is not in use.
i run ps aux in bash shell, i see nothing that says “lighttpd”
im using php5, mysql 5.1, and lighttpd 1.4.23
wtf is wrong with my setup, just because my software is newer shouldnt change anything right?
the.conf files for lighty on this site, and mine, are identical, in configuration, but mine has a few other settings that are commented out so i just leave them be.
i have even checked my error logs, not a damn thing is in them
and ive checked my network configuration, all is well there too.

someone please help me with this, ive searched google all over and there is nothing on chroot with a lighttpd server, they all redirect to this tutorial i linked above