mirror of
https://github.com/apache/httpd.git
synced 2026-01-06 09:01:14 +03:00
add %% escaping
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97655 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -41,74 +41,76 @@
|
||||
|
||||
<table class="bordered"><tr class="header"><th>Format<61>String</th>
|
||||
<th>Description</th></tr>
|
||||
<tr><td><code>%...a</code></td>
|
||||
<tr><td><code>%%</code></td>
|
||||
<td>The percent sign</td></tr>
|
||||
<tr class="odd"><td><code>%...a</code></td>
|
||||
<td>Remote IP-address</td></tr>
|
||||
<tr class="odd"><td><code>%...A</code></td>
|
||||
<tr><td><code>%...A</code></td>
|
||||
<td>Local IP-address</td></tr>
|
||||
<tr><td><code>%...B</code></td>
|
||||
<tr class="odd"><td><code>%...B</code></td>
|
||||
<td>Bytes sent, excluding HTTP headers.</td></tr>
|
||||
<tr class="odd"><td><code>%...b</code></td>
|
||||
<tr><td><code>%...b</code></td>
|
||||
<td>Bytes sent, excluding HTTP headers. In CLF format, <em>i.e.</em>
|
||||
a '<code>-</code>' rather than a 0 when no bytes are sent.</td></tr>
|
||||
<tr><td><code>%...{<var>Foobar</var>}C</code></td>
|
||||
<tr class="odd"><td><code>%...{<var>Foobar</var>}C</code></td>
|
||||
<td>The contents of cookie <var>Foobar</var> in the request sent
|
||||
to the server.</td></tr>
|
||||
<tr class="odd"><td><code>%...D</code></td>
|
||||
<tr><td><code>%...D</code></td>
|
||||
<td>The time taken to serve the request, in microseconds.</td></tr>
|
||||
<tr><td><code>%...{<var>FOOBAR</var>}e</code></td>
|
||||
<tr class="odd"><td><code>%...{<var>FOOBAR</var>}e</code></td>
|
||||
<td>The contents of the environment variable
|
||||
<var>FOOBAR</var></td></tr>
|
||||
<tr class="odd"><td><code>%...f</code></td>
|
||||
<tr><td><code>%...f</code></td>
|
||||
<td>Filename</td></tr>
|
||||
<tr><td><code>%...h</code></td>
|
||||
<tr class="odd"><td><code>%...h</code></td>
|
||||
<td>Remote host</td></tr>
|
||||
<tr class="odd"><td><code>%...H</code></td>
|
||||
<tr><td><code>%...H</code></td>
|
||||
<td>The request protocol</td></tr>
|
||||
<tr><td><code>%...{<var>Foobar</var>}i</code></td>
|
||||
<tr class="odd"><td><code>%...{<var>Foobar</var>}i</code></td>
|
||||
<td>The contents of <code><var>Foobar</var>:</code> header line(s)
|
||||
in the request sent to the server.</td></tr>
|
||||
<tr class="odd"><td><code>%...l</code></td>
|
||||
<tr><td><code>%...l</code></td>
|
||||
<td>Remote logname (from identd, if supplied)</td></tr>
|
||||
<tr><td><code>%...m</code></td>
|
||||
<tr class="odd"><td><code>%...m</code></td>
|
||||
<td>The request method</td></tr>
|
||||
<tr class="odd"><td><code>%...{<var>Foobar</var>}n</code></td>
|
||||
<tr><td><code>%...{<var>Foobar</var>}n</code></td>
|
||||
<td>The contents of note <var>Foobar</var> from another
|
||||
module.</td></tr>
|
||||
<tr><td><code>%...{<var>Foobar</var>}o</code></td>
|
||||
<tr class="odd"><td><code>%...{<var>Foobar</var>}o</code></td>
|
||||
<td>The contents of <code><var>Foobar</var>:</code> header line(s)
|
||||
in the reply.</td></tr>
|
||||
<tr class="odd"><td><code>%...p</code></td>
|
||||
<tr><td><code>%...p</code></td>
|
||||
<td>The canonical port of the server serving the request</td></tr>
|
||||
<tr><td><code>%...P</code></td>
|
||||
<tr class="odd"><td><code>%...P</code></td>
|
||||
<td>The process ID of the child that serviced the request.</td></tr>
|
||||
<tr class="odd"><td><code>%...q</code></td>
|
||||
<tr><td><code>%...q</code></td>
|
||||
<td>The query string (prepended with a <code>?</code> if a query
|
||||
string exists, otherwise an empty string)</td></tr>
|
||||
<tr><td><code>%...r</code></td>
|
||||
<tr class="odd"><td><code>%...r</code></td>
|
||||
<td>First line of request</td></tr>
|
||||
<tr class="odd"><td><code>%...s</code></td>
|
||||
<tr><td><code>%...s</code></td>
|
||||
<td>Status. For requests that got internally redirected, this is
|
||||
the status of the *original* request --- <code>%...>s</code>
|
||||
for the last.</td></tr>
|
||||
<tr><td><code>%...t</code></td>
|
||||
<tr class="odd"><td><code>%...t</code></td>
|
||||
<td>Time, in common log format time format (standard english
|
||||
format)</td></tr>
|
||||
<tr class="odd"><td><code>%...{<var>format</var>}t</code></td>
|
||||
<tr><td><code>%...{<var>format</var>}t</code></td>
|
||||
<td>The time, in the form given by format, which should be in
|
||||
<code>strftime(3)</code> format. (potentially localized)</td></tr>
|
||||
<tr><td><code>%...T</code></td>
|
||||
<tr class="odd"><td><code>%...T</code></td>
|
||||
<td>The time taken to serve the request, in seconds.</td></tr>
|
||||
<tr class="odd"><td><code>%...u</code></td>
|
||||
<tr><td><code>%...u</code></td>
|
||||
<td>Remote user (from auth; may be bogus if return status
|
||||
(<code>%s</code>) is 401)</td></tr>
|
||||
<tr><td><code>%...U</code></td>
|
||||
<tr class="odd"><td><code>%...U</code></td>
|
||||
<td>The URL path requested, not including any query string.</td></tr>
|
||||
<tr class="odd"><td><code>%...v</code></td>
|
||||
<tr><td><code>%...v</code></td>
|
||||
<td>The canonical <code class="directive"><a href="../mod/core.html#servername">ServerName</a></code>
|
||||
of the server serving the request.</td></tr>
|
||||
<tr><td><code>%...V</code></td>
|
||||
<tr class="odd"><td><code>%...V</code></td>
|
||||
<td>The server name according to the <code class="directive"><a href="../mod/core.html#usecanonicalname">UseCanonicalName</a></code> setting.</td></tr>
|
||||
<tr class="odd"><td><code>%...X</code></td>
|
||||
<tr><td><code>%...X</code></td>
|
||||
<td>Connection status when response is completed:
|
||||
|
||||
<table>
|
||||
@@ -125,10 +127,10 @@
|
||||
<p>(This directive was <code>%...c</code> in late versions of Apache
|
||||
1.3, but this conflicted with the historical ssl
|
||||
<code>%...{<var>var</var>}c</code> syntax.)</p></td></tr>
|
||||
<tr><td><code>%...I</code></td>
|
||||
<tr class="odd"><td><code>%...I</code></td>
|
||||
<td>Bytes received, including request and headers, cannot be zero.
|
||||
You need to enable <code class="module"><a href="../mod/mod_logio.html">mod_logio</a></code> to use this.</td></tr>
|
||||
<tr class="odd"><td><code>%...O</code></td>
|
||||
<tr><td><code>%...O</code></td>
|
||||
<td>Bytes sent, including headers, cannot be zero. You need to
|
||||
enable <code class="module"><a href="../mod/mod_logio.html">mod_logio</a></code> to use this.</td></tr>
|
||||
</table>
|
||||
|
||||
@@ -47,6 +47,9 @@
|
||||
<tr><th>Format String</th>
|
||||
<th>Description</th></tr>
|
||||
|
||||
<tr><td><code>%%</code></td>
|
||||
<td>The percent sign</td></tr>
|
||||
|
||||
<tr><td><code>%...a</code></td>
|
||||
<td>Remote IP-address</td></tr>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user