Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Docs

Re: svn commit: r1296931 - in /httpd/httpd/branches/2.2.x/docs/manual/rewrite: rewritemap.html.en rewritemap.xml

 

 

Apache docs RSS feed   Index | Next | Previous | View Threaded


rainer.jung at kippdata

Mar 4, 2012, 6:06 PM

Post #1 of 5 (298 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


rbowen at rcbowen

Mar 5, 2012, 6:04 AM

Post #2 of 5 (284 views)
Permalink
Re: svn commit: r1296931 - in /httpd/httpd/branches/2.2.x/docs/manual/rewrite: rewritemap.html.en rewritemap.xml [In reply to]

On Mar 4, 2012, at 9:06 PM, Rainer Jung wrote:

> Hi Rich,
>
> On 05.03.2012 02:41, rbowen [at] apache wrote:
>> Author: rbowen
>> Date: Mon Mar 5 01:41:32 2012
>>
>> +<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?

Gah!

Thanks. I got on a roll and didn't check enough. Thanks. Fixing.

--
Rich Bowen
rbowen [at] rcbowen :: @rbowen
rbowen [at] apache


rbowen at rcbowen

Mar 5, 2012, 6:07 AM

Post #3 of 5 (281 views)
Permalink
Re: svn commit: r1296931 - in /httpd/httpd/branches/2.2.x/docs/manual/rewrite: rewritemap.html.en rewritemap.xml [In reply to]

On Mar 4, 2012, at 9:06 PM, Rainer Jung wrote:

>
> 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.

Yes, I only made that change in the 2.2 docs. I suppose 2.0 needs it, too, but I've stopped doing anything with 2.0. I suppose we should probably not do that quite yet.

--
Rich Bowen
rbowen [at] rcbowen :: @rbowen
rbowen [at] apache


tsnyder at gsscomputer

Mar 5, 2012, 6:13 AM

Post #4 of 5 (288 views)
Permalink
Re: svn commit: r1296931 - in /httpd/httpd/branches/2.2.x/docs/manual/rewrite: rewritemap.html.en rewritemap.xml [In reply to]

I will be out of the office until Tuesday 6 March.


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe [at] httpd
For additional commands, e-mail: docs-help [at] httpd


tsnyder at gsscomputer

Mar 5, 2012, 6:15 AM

Post #5 of 5 (284 views)
Permalink
Re: svn commit: r1296931 - in /httpd/httpd/branches/2.2.x/docs/manual/rewrite: rewritemap.html.en rewritemap.xml [In reply to]

I will be out of the office until Tuesday 6 March.


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe [at] httpd
For additional commands, e-mail: docs-help [at] httpd

Apache docs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.