]> granicus.if.org Git - apache/commitdiff
Documentation for r1002415.
authorIgor Galić <igalic@apache.org>
Wed, 29 Sep 2010 00:23:31 +0000 (00:23 +0000)
committerIgor Galić <igalic@apache.org>
Wed, 29 Sep 2010 00:23:31 +0000 (00:23 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1002427 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/core.html.en
docs/manual/mod/core.xml

index 59134d2a62d894526b7ecb227da7ff3cbcb61843..137f84f1a293d1d5a118d3670bd29055024b3a4e 100644 (file)
@@ -1196,7 +1196,8 @@ in case of an error</td></tr>
     same connection or request, which request happens on which connection.
     A <code>%L</code> format string is also available in
     <code class="module"><a href="../mod/mod_log_config.html">mod_log_config</a></code>, to allow to correlate access log entries
-    with error log lines.</p>
+    with error log lines. If <code class="module"><a href="../mod/mod_unique_id.html">mod_unique_id</a></code> is loaded, its
+    unique id will be used as log ID for requests.</p>
 
     <div class="example"><h3>Example (somewhat similar to default format)</h3><p><code>
         ErrorLogFormat "[%{u}t] [%-m:%l] [pid %P] %7F: %E: [client\ %a]
@@ -1529,6 +1530,14 @@ satisfied by a request at runtime</td></tr>
     ($req), response headers ($resp) or environment ($env) in your
     expression.</p>
 
+    <p>Apart from <code>=</code>, <code>If</code> can use the <code>IN</code>
+    operator to compare if the expression is in a given range:</p>
+
+    <div class="example"><p><code>
+        &lt;If %{REQUEST_METHOD} IN GET,HEAD,OPTIONS&gt;
+    </code></p></div>
+
+
 <h3>See also</h3>
 <ul>
 <li><a href="../sections.html">How &lt;Directory&gt;, &lt;Location&gt;,
index 885d1db96da7cd808dc662b04993d2266a51b848..85295136c8f1af58ba233b5277c3e7f3cf9e6873 100644 (file)
@@ -1511,6 +1511,14 @@ satisfied by a request at runtime</description>
     <p>You may compare the value of any variable in the request headers
     ($req), response headers ($resp) or environment ($env) in your
     expression.</p>
+
+    <p>Apart from <code>=</code>, <code>If</code> can use the <code>IN</code>
+    operator to compare if the expression is in a given range:</p>
+
+    <example>
+        &lt;If %{REQUEST_METHOD} IN GET,HEAD,OPTIONS&gt;
+    </example>
+
 </usage>
 
 <seealso><a href="../sections.html">How &lt;Directory&gt;, &lt;Location&gt;,