]> granicus.if.org Git - apache/commitdiff
PR37194: give a hint about capturing something more like "initial" header
authorEric Covener <covener@apache.org>
Fri, 30 Mar 2012 13:10:35 +0000 (13:10 +0000)
committerEric Covener <covener@apache.org>
Fri, 30 Mar 2012 13:10:35 +0000 (13:10 +0000)
values when a %{foo}i might have been set or changed by a module.

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

docs/manual/mod/mod_log_config.xml

index 85ee5c89aafcaa10fb3e8a1c5a3b2188bf9fb750..f6f995926afbd46825f8103038d42ed2ada2fcb3 100644 (file)
     <tr><td><code>%{<var>VARNAME</var>}i</code></td>
         <td>The contents of <code><var>VARNAME</var>:</code> header line(s)
         in the request sent to the server. Changes made by other
-        modules (e.g. <module>mod_headers</module>) affect this.
+        modules (e.g. <module>mod_headers</module>) affect this.  If you're
+        interested in what the request header was prior to when most
+        modules would have modified it, use <module>mod_setenvif</module>
+        to copy the header into an internal environment variable and log
+        that value with the <code>%{<var>VARNAME</var>}e</code> described
+        above.
         </td></tr>
 
     <tr><td><code>%k</code></td>