Commit ad9ea425 authored by Richard Bowen's avatar Richard Bowen
Browse files
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
parent ab9d5d15
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -100,7 +100,11 @@
    <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>