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 15:46:22 UTC
svn commit: r707077 - in /httpd/httpd/branches/2.0.x/docs/manual/mod:
mod_rewrite.html.en mod_rewrite.xml
Author: covener
Date: Wed Oct 22 06:46:22 2008
New Revision: 707077
URL: http://svn.apache.org/viewvc?rev=707077&view=rev
Log:
rewriteengine off vs. rewritemap prg
Modified:
httpd/httpd/branches/2.0.x/docs/manual/mod/mod_rewrite.html.en
httpd/httpd/branches/2.0.x/docs/manual/mod/mod_rewrite.xml
Modified: httpd/httpd/branches/2.0.x/docs/manual/mod/mod_rewrite.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.0.x/docs/manual/mod/mod_rewrite.html.en?rev=707077&r1=707076&r2=707077&view=diff
==============================================================================
--- httpd/httpd/branches/2.0.x/docs/manual/mod/mod_rewrite.html.en (original)
+++ httpd/httpd/branches/2.0.x/docs/manual/mod/mod_rewrite.html.en Wed Oct 22 06:46:22 2008
@@ -727,6 +727,12 @@
<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 @@
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;
Modified: httpd/httpd/branches/2.0.x/docs/manual/mod/mod_rewrite.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.0.x/docs/manual/mod/mod_rewrite.xml?rev=707077&r1=707076&r2=707077&view=diff
==============================================================================
--- httpd/httpd/branches/2.0.x/docs/manual/mod/mod_rewrite.xml (original)
+++ httpd/httpd/branches/2.0.x/docs/manual/mod/mod_rewrite.xml Wed Oct 22 06:46:22 2008
@@ -227,6 +227,12 @@
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 @@
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