[pkg-lighttpd] Bug#512583: /doc/ and /images/ not accessible via IPv6 address

Gabriel Corona gabriel.corona at enst-bretagne.fr
Wed Jan 21 23:58:09 UTC 2009


Package: lighttpd
Version: 1.4.19-5

In the lighhtpd.conf, the following lines :
$HTTP["remoteip"] =~ "127.0.0.1" {
...
}
provide /doc/ and /images/ when accessing the server via 127.0.0.1
even if IPv6 is enabled.

Though, when accessing http://localhost/ the IPv6 address for localhost 
(::1) can be used : In this case the the regexp won't match.

Should'nt there be (for example) :
HTTP["remoteip"] =~ "127.0.0.1$|^::1$" {
...
}
?

Gabriel





More information about the pkg-lighttpd-maintainers mailing list