httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Re: svn commit: r1296931 - in /httpd/httpd/branches/2.2.x/docs/manual/rewrite: rewritemap.html.en rewritemap.xml
Date Mon, 05 Mar 2012 02:06:26 GMT
Hi Rich,

On 05.03.2012 02:41, rbowen@apache.org 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@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Mime
View raw message