
rainer.jung at kippdata
Mar 4, 2012, 6:06 PM
Post #1 of 5
(201 views)
Permalink
|
|
Re: svn commit: r1296931 - in /httpd/httpd/branches/2.2.x/docs/manual/rewrite: rewritemap.html.en rewritemap.xml
|
|
Hi Rich, On 05.03.2012 02:41, rbowen [at] apache wrote: > Author: rbowen > Date: Mon Mar 5 01:41:32 2012 > New Revision: 1296931 > > URL: http://svn.apache.org/viewvc?rev=1296931&view=rev > Log: > Note that RewriteLock should be used when using prg: style RewriteMaps > https://issues.apache.org/bugzilla/show_bug.cgi?id=52347 > > Modified: > httpd/httpd/branches/2.2.x/docs/manual/rewrite/rewritemap.html.en > httpd/httpd/branches/2.2.x/docs/manual/rewrite/rewritemap.xml > > Modified: httpd/httpd/branches/2.2.x/docs/manual/rewrite/rewritemap.html.en > URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/rewrite/rewritemap.html.en?rev=1296931&r1=1296930&r2=1296931&view=diff > ============================================================================== > --- httpd/httpd/branches/2.2.x/docs/manual/rewrite/rewritemap.html.en (original) > +++ httpd/httpd/branches/2.2.x/docs/manual/rewrite/rewritemap.html.en Mon Mar 5 01:41:32 2012 > @@ -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 RewriteLock? > +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 > > Modified: httpd/httpd/branches/2.2.x/docs/manual/rewrite/rewritemap.xml > URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/rewrite/rewritemap.xml?rev=1296931&r1=1296930&r2=1296931&view=diff > ============================================================================== > --- httpd/httpd/branches/2.2.x/docs/manual/rewrite/rewritemap.xml (original) > +++ httpd/httpd/branches/2.2.x/docs/manual/rewrite/rewritemap.xml Mon Mar 5 01:41:32 2012 > @@ -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 Ditto. > +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 Concerning 2.4+: RewriteLock was replaced by the more general "Mutex" directive. But indeed in seems in 2.2 you had to define a RewriteLock explicitely, whereas in 2.4.x one is created automatically. Regards, Rainer --------------------------------------------------------------------- To unsubscribe, e-mail: docs-unsubscribe [at] httpd For additional commands, e-mail: docs-help [at] httpd
|