In fact it should be something like :
HTTP["remoteip"] =~ "^127\.0\.0\.1$|^::(1|127\.0\.0\.1)$" {
...
}
Otherwise some IPs (like 2001::127:0:0:1:0) will match..
Gabriel
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact li
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
2 matches
Mail list logo