[pkg-lighttpd] Bug#445459: lighttpd: mod_alias fails on localhost
Olaf van der Spek
olafvdspek at gmail.com
Mon Oct 29 16:16:58 UTC 2007
On 10/26/07, Steve Greenland <steveg at moregruel.net> wrote:
> And, again, commenting out the 'HTTP["remoteip"] == "127.0.0.1"' clause in
> 10-cgi.enabled makes everything work.
I've got it down to this:
server.modules = ( "mod_alias" )
server.document-root = "/var/www/"
alias.url += ( "/a/" => "/home/olaf/a/" )
$HTTP["remoteip"] == "127.0.0.1" {
alias.url += ( "/doc/" => "/usr/share/doc/" )
}
alias.url += ( "/b/" => "/home/olaf/b/" )
/a/ works, while /b/ doesn't.
More information about the pkg-lighttpd-maintainers
mailing list