summaryrefslogtreecommitdiffstats
path: root/docs/manual/rewrite/rewritemap.xml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/manual/rewrite/rewritemap.xml')
-rw-r--r--docs/manual/rewrite/rewritemap.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/manual/rewrite/rewritemap.xml b/docs/manual/rewrite/rewritemap.xml
index e03df54679..7e4c95e69e 100644
--- a/docs/manual/rewrite/rewritemap.xml
+++ b/docs/manual/rewrite/rewritemap.xml
@@ -135,8 +135,8 @@ may be used, and give examples of each.</p>
recipe:</p>
<highlight language="config"><strong>#Product to ID configuration</strong>
- RewriteMap product2id txt:/etc/apache2/productmap.txt
- RewriteRule ^/product/(.*) /prods.php?id=${product2id:$1|NOTFOUND} [PT]
+RewriteMap product2id txt:/etc/apache2/productmap.txt
+RewriteRule ^/product/(.*) /prods.php?id=${product2id:$1|NOTFOUND} [PT]
</highlight>
<p>We assume here that the <code>prods.php</code> script knows what
@@ -312,9 +312,9 @@ by many requests.
the int function, and then use that in your <code>RewriteRule</code>:
</p>
- <highlight language="config"><strong>Redirect a URI to an all-lowercase version of itself</strong>
- RewriteMap lc int:tolower
- RewriteRule (.*?[A-Z]+.*) ${lc:$1} [R]
+ <highlight language="config"><strong>#Redirect a URI to an all-lowercase version of itself</strong>
+RewriteMap lc int:tolower
+RewriteRule (.*?[A-Z]+.*) ${lc:$1} [R]
</highlight>
<note>