You are not logged in.
The first and foremost issue I am having with configuring my lighttpd install is getting it to bind to the internal IP.
My server box has two NICs, one facing the "outside" and the other facing "inside" (this box is also a router; yes I know its risky). When I set the "server.bind" variable in /etc/lighttpd/lighttpd.conf to the IP of my internal network and restart the service it fails on starting.
I also can't get chroot to work, but that wont be needed as much if I can get the first problem fixed.
I have the server running as its own user and group.
dnsmasq is also running on the box and is only listening on the inside interface, if that complicates matters.
Thank you for your help.
Offline
Hm, server.bind = "1.1.1.1" *should* work. Check the error logs and see if there are any errors being logged in there, maybe the source of the problem is somewhere else.
Offline
Those quotes made all the difference. Funny, however, the examples in lighttpd.conf did not have quotes for the IP-based binding.
I also figured out why it wasn't chrooting: couldn't find the log files in the chrooted environment.
I don't know why I didn't think to look at the error logs sooner...
Thank you for the help
Last edited by darkfoon (2007-08-29 10:55:17)
Offline