Commit 14ce0045 authored by Eric Covener's avatar Eric Covener
Browse files

rewriteengine off vs. rewritemap prg


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@707077 13f79535-47bb-0310-9956-ffa450edef68
parent 31c481e1
Loading
Loading
Loading
Loading
+10 −0
Changes for docs/manual/mod/mod_rewrite.html.en: 10 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -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;
+10 −0
Changes for docs/manual/mod/mod_rewrite.xml: 10 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -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