]> granicus.if.org Git - apache/commitdiff
Repeated 'RewriteRule'
authorVincent Bray <noodl@apache.org>
Thu, 29 Nov 2007 22:19:00 +0000 (22:19 +0000)
committerVincent Bray <noodl@apache.org>
Thu, 29 Nov 2007 22:19:00 +0000 (22:19 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@599603 13f79535-47bb-0310-9956-ffa450edef68

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

index c7696e791491571936b716e2d70a38efee5c48b4..d06031a29c7c565fe0aef58d1009429ec80d7777 100644 (file)
@@ -1250,7 +1250,7 @@ cannot use <code>$N</code> in the substitution string!
         so backreferences will be unescaped at the time they are applied.
         Using the B flag, non-alphanumeric characters in backreferences
         will be escaped.  For example, consider the rule:</p>
-        <pre><code> RewriteRule RewriteRule ^(.*)$   index.php?show=$1 </code></pre>
+        <pre><code> RewriteRule ^(.*)$ index.php?show=$1 </code></pre>
         <p>This will map <code>/C++</code> to <code>index.php?show=/C++</code>.
         But it will also map <code>/C%2b%2b</code> to
         <code>index.php?show=/C++</code>, because the <code>%2b</code>
index fbc102d2b927a144e72b4dad8fc1a09c4d74fe48..5b7d7435346cce0f113ec452af3b2df8a36fb51a 100644 (file)
@@ -1266,7 +1266,7 @@ cannot use <code>$N</code> in the substitution string!
         so backreferences will be unescaped at the time they are applied.
         Using the B flag, non-alphanumeric characters in backreferences
         will be escaped.  For example, consider the rule:</p>
-        <pre><code> RewriteRule RewriteRule ^(.*)$   index.php?show=$1 </code></pre>
+        <pre><code> RewriteRule ^(.*)$ index.php?show=$1 </code></pre>
         <p>This will map <code>/C++</code> to <code>index.php?show=/C++</code>.
         But it will also map <code>/C%2b%2b</code> to
         <code>index.php?show=/C++</code>, because the <code>%2b</code>