[pkg-lighttpd] r492 - lighttpd/trunk/debian/conf-available

Olaf van der Spek olafvdspek-guest at alioth.debian.org
Sat Oct 23 16:09:49 UTC 2010


Author: olafvdspek-guest
Date: 2010-10-23 16:09:42 +0000 (Sat, 23 Oct 2010)
New Revision: 492

Modified:
   lighttpd/trunk/debian/conf-available/90-debian-doc.conf
Log:
Fix /doc/ for IPv6 (closes: 512583)


Modified: lighttpd/trunk/debian/conf-available/90-debian-doc.conf
===================================================================
--- lighttpd/trunk/debian/conf-available/90-debian-doc.conf	2010-10-23 15:56:50 UTC (rev 491)
+++ lighttpd/trunk/debian/conf-available/90-debian-doc.conf	2010-10-23 16:09:42 UTC (rev 492)
@@ -1,8 +1,6 @@
 #### handle Debian Policy Manual, Section 11.5. urls
 ## by default allow them only from localhost
-## (This must come last due to #445459)
-## Note: =~ "127.0.0.1" works with ipv6 enabled, whereas == "127.0.0.1" doesn't
-$HTTP["remoteip"] =~ "127.0.0.1" {
+$HTTP["remoteip"] =~ "^127\.0\.0\.1$|^::1$" {
         alias.url += (
 		"/cgi-bin/" => "/usr/lib/cgi-bin/",
                 "/doc/" => "/usr/share/doc/",




More information about the pkg-lighttpd-maintainers mailing list