]> granicus.if.org Git - apache/commitdiff
refs https://issues.apache.org/bugzilla/show_bug.cgi?id=51967 Mention
authorRich Bowen <rbowen@apache.org>
Sat, 8 Oct 2011 22:21:18 +0000 (22:21 +0000)
committerRich Bowen <rbowen@apache.org>
Sat, 8 Oct 2011 22:21:18 +0000 (22:21 +0000)
that %h will sometimes log the IP address, and sometimes the hostname,
depending on HostNameLookup setting and the use of hostname-based
authorization directives.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180500 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_log_config.xml

index 838e1e8961ab92f87c644de9456591bee4c00cde..c7d260588b83f89e371bbf4c5a716d6f1bc298b5 100644 (file)
     <tr><td><code>%h</code></td>
         <td>Remote hostname. Will log the IP address if <directive
         module="core">HostnameLookups</directive> is set to
-        <code>Off</code>, which is the default.</td></tr>
+        <code>Off</code>, which is the default. If it logs the hostname
+        for only a few hosts, you probably have access control
+        directives mentioning them by name. See <a
+        href="mod_authz_host.html#reqhost">the Require host
+        documentation</a>.</td></tr>
 
     <tr><td><code>%H</code></td>
         <td>The request protocol.</td></tr>