[pkg-lighttpd] Bug#445459: lighttpd: mod_alias fails on localhost
Andy Balaam
andybalaam at artificialworlds.net
Thu Dec 13 16:31:00 UTC 2007
This appears to be a known issue and one that is apparently by design.
It seems wrong to me.
See this bug:
http://trac.lighttpd.net/trac/ticket/1427
For a potential solution, see my blog entry:
http://www.artificialworlds.net/blog/2007/12/09/lighttpd-on-ubuntu-aliasurl-doesnt-work-when-included-in-a-module-config-file/
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.
Andy
More information about the pkg-lighttpd-maintainers
mailing list