]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
leave a hint about some non-intuitive startup behavior for RewriteMap programs
authorEric Covener <covener@apache.org>
Wed, 22 Oct 2008 11:44:53 +0000 (11:44 +0000)
committerEric Covener <covener@apache.org>
Wed, 22 Oct 2008 11:44:53 +0000 (11:44 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@707041 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_rewrite.html.en
docs/manual/mod/mod_rewrite.xml

index 7fe2e3997770b5c3c48fa680060e42afb827170e..258946b16b1652228d1178541512eb65fad40949 100644 (file)
@@ -674,6 +674,11 @@ RewriteRule  ^/$                 /homepage.std.html  [L]
       <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 @@ $ httxt2dbm -i mapfile.txt -o mapfile.map
           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;
index baa6038dca6b913c433341589e499e022010b8ad..905a13b388360aee75585ae44b5027e3992320df 100644 (file)
@@ -146,6 +146,11 @@ SCRIPT_URI=http://en1.engelschall.com/u/rse/
       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 @@ $ httxt2dbm -i mapfile.txt -o mapfile.map
           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