]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
rewriteengine off vs. rewritemap prg
authorEric Covener <covener@apache.org>
Wed, 22 Oct 2008 13:46:22 +0000 (13:46 +0000)
committerEric Covener <covener@apache.org>
Wed, 22 Oct 2008 13:46:22 +0000 (13:46 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@707077 13f79535-47bb-0310-9956-ffa450edef68

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

index 2468322d8377a2988ae5525a78f0399eda344e2e..03925f173acadf9fb7cb897060bfdd01582f8173 100644 (file)
@@ -727,6 +727,12 @@ RewriteRule  ^/$                 /homepage.std.html  [L]
       <code>RewriteEngine on</code> directive for each virtual host
       in which you wish to use it.</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>
@@ -1038,6 +1044,10 @@ $ txt2dbm map.txt map.db
           program which will implement a 1:1 map (<em>i.e.</em>,
           key == value) could be:</p>
 
+          <p>External rewriting programs are not started if 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 af02cb747b1361564d53730c21cb44d80709bc78..e9e7c895e6ec0359d14a3d7384e93c18fd3bdef8 100644 (file)
@@ -227,6 +227,12 @@ SCRIPT_URI=http://en1.engelschall.com/u/rse/
       inherited. This means that you need to have a
       <code>RewriteEngine on</code> directive for each virtual host
       in which you wish to use it.</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>
@@ -589,6 +595,10 @@ $ txt2dbm map.txt map.db
           program which will implement a 1:1 map (<em>i.e.</em>,
           key == value) could be:</p>
 
+          <p>External rewriting programs are not started if they're defined in a
+          context that does not have <directive>RewriteEngine</directive> set to
+          <code>on</code></p>.
+
 <example>
 <pre>
 #!/usr/bin/perl