title: Is it possible to log all HTTP request headers with Apache?
body: <p>How to make a record into the logfile the contents of the HTTP request header (all) as received by apache?</p>
  <p>Currently my apache combined log format configuration is:</p>
  <pre><code>LogFormat &quot;%h %l %u %t \&quot;%r\&quot; %&gt;s %b \&quot;%{Referer}i\&quot; \&quot;%{User-Agent}i\&quot; \&quot;%{Cookie}i\&quot;&quot; combined
  </code></pre>
  <p>I understand that it is possible to do it so:</p>
  <pre><code>LogFormat &quot;%h %l %u %t \&quot;%r\&quot; %&gt;s %b \&quot;%{Referer}i\&quot; \&quot;%{User-Agent}i\&quot; \&quot;%{Cookie}i\&quot; \&quot;%{heading name}i\&quot; \&quot;%{heading name}i\&quot; \&quot;%{heading name}i\&quot;&quot; combined
  </code></pre>
  <p>but it is not logical and it is not possible to know which headers will be.</p>