httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49737] order allow,deny does not work on IPv6
Date Mon, 23 Aug 2010 16:21:11 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49737

Vernon Mauery <vernon@mauery.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #2 from Vernon Mauery <vernon@mauery.com> 2010-08-23 12:21:08 EDT ---
I figured that the unbracketed notation of IPv6 addresses was okay because on
another configuration "deny from 2001:470:80e9:0:227:13ff:fe67:7c63" works just
fine.  But at your request, I tried adding brackets to the IP address and this
is what I get:

root@telly:/etc/apache2/sites-available# /etc/init.d/apache2 reload
Syntax error on line 40 of /etc/apache2/sites-enabled/000-mauery.org:
The specified IP address is invalid.
   ...fail!

Line 40 is:
allow from [2001:4860::]/32


As I understand the documentation, "order allow,deny" should default to deny in
the case of only "allow from ..." statements.  So if all my statements are
allows, then it should deny everything else.  This seems to work fine on the
IPv4 addresses, but not on IPv6.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message