You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by bu...@apache.org on 2011/10/05 21:03:48 UTC

DO NOT REPLY [Bug 51967] New: HostnameLookups setting is ignored if hostname is used as part of allow or deny rule

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


DO NOT REPLY [Bug 51967] HostnameLookups setting is ignored if hostname is used as part of allow or deny rule

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51967

Rich Bowen <rb...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|                            |All

--- Comment #1 from Rich Bowen <rb...@apache.org> 2011-10-08 22:21:47 UTC ---
Comments added to mod_log_config docs in r1180500.

-- 
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


DO NOT REPLY [Bug 51967] HostnameLookups setting is ignored if hostname is used as part of allow or deny rule

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51967

Rich Bowen <rb...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Rich Bowen <rb...@apache.org> 2011-10-08 22:29:00 UTC ---
Resolved in r1180503. Closing.

-- 
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