You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ig...@apache.org on 2010/09/29 02:23:31 UTC

svn commit: r1002427 - in /httpd/httpd/trunk/docs/manual/mod: core.html.en core.xml

Author: igalic
Date: Wed Sep 29 00:23:31 2010
New Revision: 1002427

URL: http://svn.apache.org/viewvc?rev=1002427&view=rev
Log:
Documentation for r1002415.

Modified:
    httpd/httpd/trunk/docs/manual/mod/core.html.en
    httpd/httpd/trunk/docs/manual/mod/core.xml

Modified: httpd/httpd/trunk/docs/manual/mod/core.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/core.html.en?rev=1002427&r1=1002426&r2=1002427&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/core.html.en (original)
+++ httpd/httpd/trunk/docs/manual/mod/core.html.en Wed Sep 29 00:23:31 2010
@@ -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></
     ($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;,

Modified: httpd/httpd/trunk/docs/manual/mod/core.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/core.xml?rev=1002427&r1=1002426&r2=1002427&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/core.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/core.xml Wed Sep 29 00:23:31 2010
@@ -1511,6 +1511,14 @@ satisfied by a request at runtime</descr
     <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;,