You are not logged in.

#1 2007-08-29 02:39:54

darkfoon
Member
Registered: 2007-08-29
Posts: 42

lighttpd configuration issues

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

#2 2007-08-29 04:52:09

xyn
Member
From: Las Vegas
Registered: 2007-08-28
Posts: 7
Website

Re: lighttpd configuration issues

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

#3 2007-08-29 10:51:56

darkfoon
Member
Registered: 2007-08-29
Posts: 42

Re: lighttpd configuration issues

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

Board footer

Powered by FluxBB