]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Note that RewriteLock should be used when using prg: style RewriteMaps
authorRich Bowen <rbowen@apache.org>
Mon, 5 Mar 2012 01:41:32 +0000 (01:41 +0000)
committerRich Bowen <rbowen@apache.org>
Mon, 5 Mar 2012 01:41:32 +0000 (01:41 +0000)
https://issues.apache.org/bugzilla/show_bug.cgi?id=52347

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1296931 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/rewrite/rewritemap.html.en
docs/manual/rewrite/rewritemap.xml

index 78a971f0729cebc9b27e0cb3d85e90fb1384123b..2237bc176ea9b5a37843bea829f0c55958761d3d 100644 (file)
@@ -376,6 +376,13 @@ by many requests.
     }<br />
     </code></p></div>
 
+<div class="note"><h3>Use a RewriteLock!</h3>
+<p>When using a <code>prg:</code> RewriteMap, you should use a
+<code class="directive"><a href="../mod/mod_rewrite.html#rewritemap">RewriteMap</a></code>. Failure to do so
+will result in an error message in the log file, and may result in a
+race condition on concurrent requests.</p>
+</div>
+
 <div class="note"><h3>Caution!</h3>
 <ul>
 <li>Keep your rewrite map program as simple as possible. If the program
index 7f2683890d1f2ca84c9c019522462057b636649b..087e64f84925028c03515180e8cc0668089a03dd 100644 (file)
@@ -377,6 +377,13 @@ by many requests.
     }<br />
     </example>
 
+<note><title>Use a RewriteLock!</title>
+<p>When using a <code>prg:</code> RewriteMap, you should use a
+<directive module="mod_rewrite">RewriteMap</directive>. Failure to do so
+will result in an error message in the log file, and may result in a
+race condition on concurrent requests.</p>
+</note>
+
 <note><title>Caution!</title>
 <ul>
 <li>Keep your rewrite map program as simple as possible. If the program