[pkg-lighttpd] Bug#445459: lighttpd: mod_alias fails on localhost

Roger Lynn roger at rilynn.demon.co.uk
Thu Dec 20 10:54:36 UTC 2007


On Thu, Dec 13, 2007 at 04:31:00PM +0000, Andy Balaam wrote:
> Executive summary: do all alias commands before any conditional sections.
> 
> Specifically for Debian, I think we should move this line:
> 
> include_shell "/usr/share/lighttpd/include-conf-enabled.pl"
> 
> in lighttpd.conf so that it is above the section that starts like this:
> 
> $HTTP["remoteip"] == "127.0.0.1" {
> 
> That way any config set up in a conf-available/conf-enabled directory is 
> allowed to give alias directives since they are included before the 
> conditional section.

However this will presumably not work if those directories contain any 
'$HTTP["remoteip"] == "127.0.0.1" {' sections themselves. If a user 
wants to add any conditional bits of their own, they must still add them 
all to the Debian documentation section?

Roger





More information about the pkg-lighttpd-maintainers mailing list