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 23850] New: - Allow from at times need /32
Date Wed, 15 Oct 2003 21:11:28 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23850>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23850

Allow from at times need /32

           Summary: Allow from at times need /32
           Product: Apache httpd-1.3
           Version: 1.3.27
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Auth/Access
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: apache@ttsg.com


1) Create directory off root of server
2) Put in following .htaccess

AuthType Basic 
AuthName Restricted
Satisfy Any

AuthDBMUserFile /local/server/.htpasswd

<Limit GET POST>
order deny,allow
deny from all
allow from 216.231.111.17
allow from 64.21.99.146

require valid-user 
</Limit>

3) Access from 216.231.111.17, requests a password
4) Access from 64.21.99.146, doesn't request a password
5) Put change statement to "allow from 216.231.111.17/32"
6) Access from 216.231.111.17 no longer asks for password
7) Add "Allow from 204.107.90.128" (Out of the /19 that the server
and 216.231.111.17 are in, but still advertised via BGP locally) and can't
access. Use "Allow from 204.107.90.128/32", can.

Why does it seem like if the IP is in a network local we have to put /32 on it,
and if its remote it works ok?

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


Mime
View raw message