httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51967] New: HostnameLookups setting is ignored if hostname is used as part of allow or deny rule
Date Wed, 05 Oct 2011 19:03:48 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51967

             Bug #: 51967
           Summary: HostnameLookups setting is ignored if hostname is used
                    as part of allow or deny rule
           Product: Apache httpd-2
           Version: 2.2.21
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Documentation
        AssignedTo: docs@httpd.apache.org
        ReportedBy: mjhopki@hotmail.com
    Classification: Unclassified


The documentation should be changed to include the fact that the hostname
lookup will occur regardles of the HostnameLookups setting if checking of allow
/ deny rules uses a domain instead of IP ranges, e.g. Allow from
www.example.org or Deny from example.org

Using a hostname as part of an allow/deny rule can cause a performance hit
because the hostname reverse lookup will occur regardless of the setting of the
HostnameLookups setting.


A related change is a clarification on the log format %h parameter.  %h will
return the ip address (like the %a parameter) if HostnameLookups is set to off
(Off is the default).  If the log file suddenly begins to show the hostname
instead of the IP address check for an allow/deny rule that uses a hostname as
described above.

-- 
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: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Mime
View raw message