summaryrefslogtreecommitdiffstats
path: root/docs/manual/rewrite/rewritemap.xml
diff options
context:
space:
mode:
authorDaniel Gruno <humbedooh@apache.org>2012-04-25 16:48:49 +0200
committerDaniel Gruno <humbedooh@apache.org>2012-04-25 16:48:49 +0200
commit00fb4897e190bb26895f0d021b8321f8d623ec7d (patch)
tree8b198cd8229caa044efd43498bcea0a291be3ea3 /docs/manual/rewrite/rewritemap.xml
parentxforms (diff)
downloadapache2-00fb4897e190bb26895f0d021b8321f8d623ec7d.tar.xz
apache2-00fb4897e190bb26895f0d021b8321f8d623ec7d.zip
Fix some whitespace issues
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330318 13f79535-47bb-0310-9956-ffa450edef68
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>