You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by co...@apache.org on 2008/10/22 13:46:51 UTC
svn commit: r707043 - in /httpd/httpd/branches/2.2.x/docs/manual/mod:
mod_rewrite.html.en mod_rewrite.xml
Author: covener
Date: Wed Oct 22 04:46:51 2008
New Revision: 707043
URL: http://svn.apache.org/viewvc?rev=707043&view=rev
Log:
leave a hint about some non-intuitive startup behavior for RewriteMap programs
Modified:
httpd/httpd/branches/2.2.x/docs/manual/mod/mod_rewrite.html.en
httpd/httpd/branches/2.2.x/docs/manual/mod/mod_rewrite.xml
Modified: httpd/httpd/branches/2.2.x/docs/manual/mod/mod_rewrite.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/mod/mod_rewrite.html.en?rev=707043&r1=707042&r2=707043&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/mod/mod_rewrite.html.en (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/mod/mod_rewrite.html.en Wed Oct 22 04:46:51 2008
@@ -674,6 +674,11 @@
<code>RewriteEngine on</code> directive for each virtual host
in which you wish to use rewrite rules.</p>
+ <p><code class="directive">RewriteMap</code> directives of the type <code>prg</code>
+ are not started during server initialization if they're defined in a
+ context that does not have <code class="directive">RewriteEngine</code> set to
+ <code>on</code></p>
+
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="RewriteLock" id="RewriteLock">RewriteLock</a> <a name="rewritelock" id="rewritelock">Directive</a></h2>
@@ -960,6 +965,10 @@
program which will implement a 1:1 map (<em>i.e.</em>,
key == value) could be:</p>
+ <p>External rewriting programs are not started they're defined in a
+ context that does not have <code class="directive">RewriteEngine</code> set to
+ <code>on</code></p>.
+
<div class="example"><pre>
#!/usr/bin/perl
$| = 1;
Modified: httpd/httpd/branches/2.2.x/docs/manual/mod/mod_rewrite.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/mod/mod_rewrite.xml?rev=707043&r1=707042&r2=707043&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/mod/mod_rewrite.xml (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/mod/mod_rewrite.xml Wed Oct 22 04:46:51 2008
@@ -146,6 +146,11 @@
inherited by virtual hosts. This means that you need to have a
<code>RewriteEngine on</code> directive for each virtual host
in which you wish to use rewrite rules.</p>
+
+ <p><directive>RewriteMap</directive> directives of the type <code>prg</code>
+ are not started during server initialization if they're defined in a
+ context that does not have <directive>RewriteEngine</directive> set to
+ <code>on</code></p>
</usage>
</directivesynopsis>
@@ -472,6 +477,10 @@
program which will implement a 1:1 map (<em>i.e.</em>,
key == value) could be:</p>
+ <p>External rewriting programs are not started they're defined in a
+ context that does not have <directive>RewriteEngine</directive> set to
+ <code>on</code></p>.
+
<example>
<pre>
#!/usr/bin/perl