]> granicus.if.org Git - apache/commitdiff
Make XML valid and fix up the other titles.
authorDaniel Gruno <humbedooh@apache.org>
Fri, 27 Apr 2012 13:43:19 +0000 (13:43 +0000)
committerDaniel Gruno <humbedooh@apache.org>
Fri, 27 Apr 2012 13:43:19 +0000 (13:43 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1331429 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/rewrite/rewritemap.html.en
docs/manual/rewrite/rewritemap.xml

index 43b62b3b03bbdd4ea2756bf64c7056fcde394432..62bfa02374df3fdaf6936d10e97baef6b6a74acf 100644 (file)
@@ -141,8 +141,8 @@ may be used, and give examples of each.</p>
     <p>For example, we might use a mapfile to translate product names to
     product IDs for easier-to-remember URLs, using the following
     recipe:</p>
-
-    <pre class="prettyprint lang-config"><strong>#Product to ID configuration</strong>
+<p><strong>Product to ID configuration</strong></p>
+    <pre class="prettyprint lang-config">
 RewriteMap product2id txt:/etc/apache2/productmap.txt
 RewriteRule ^/product/(.*) /prods.php?id=${product2id:$1|NOTFOUND} [PT]
     </pre>
@@ -214,8 +214,8 @@ telephone  328
 static   www1|www2|www3|www4<br />
 dynamic  www5|www6
     </code></p></div>
-
-    <pre class="prettyprint lang-config"><strong>#Configuration directives</strong>
+<p><strong>Configuration directives</strong></p>
+    <pre class="prettyprint lang-config">
 RewriteMap servers rnd:/path/to/file/map.txt
 
 RewriteRule ^/(.*\.(png|gif|jpg)) http://${servers:static}/$1 [NC,P,L]
@@ -325,7 +325,9 @@ by many requests.
     the int function, and then use that in your <code>RewriteRule</code>:
     </p>
 
-    <pre class="prettyprint lang-config"><strong>#Redirect a URI to an all-lowercase version of itself</strong>
+   <p> <strong>Redirect a URI to an all-lowercase version of itself</strong></p>
+    <pre class="prettyprint lang-config">
+
 RewriteMap lc int:tolower
 RewriteRule (.*?[A-Z]+.*) ${lc:$1} [R]
     </pre>
@@ -369,7 +371,7 @@ RewriteRule (.*?[A-Z]+.*) ${lc:$1} [R]
     <p>A simple example is shown here which will replace all dashes with
     underscores in a request URI.</p>
     
-<strong>Rewrite configuration</strong>
+<p><strong>Rewrite configuration</strong></p>
     <pre class="prettyprint lang-config">
 
 RewriteMap d2u prg:/www/bin/dash2under.pl<br />
index 6bd721d45e3c64e671b60309ebcdfcef1845ec2e..79010f80266b3de6d500ac7be09288221c5bf2d1 100644 (file)
@@ -133,8 +133,8 @@ may be used, and give examples of each.</p>
     <p>For example, we might use a mapfile to translate product names to
     product IDs for easier-to-remember URLs, using the following
     recipe:</p>
-
-    <highlight language="config"><strong>#Product to ID configuration</strong>
+<p><strong>Product to ID configuration</strong></p>
+    <highlight language="config">
 RewriteMap product2id txt:/etc/apache2/productmap.txt
 RewriteRule ^/product/(.*) /prods.php?id=${product2id:$1|NOTFOUND} [PT]
     </highlight>
@@ -203,8 +203,8 @@ telephone  328
 static   www1|www2|www3|www4<br />
 dynamic  www5|www6
     </example>
-
-    <highlight language="config"><strong>#Configuration directives</strong>
+<p><strong>Configuration directives</strong></p>
+    <highlight language="config">
 RewriteMap servers rnd:/path/to/file/map.txt
 
 RewriteRule ^/(.*\.(png|gif|jpg)) http://${servers:static}/$1 [NC,P,L]
@@ -312,7 +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>
+   <p> <strong>Redirect a URI to an all-lowercase version of itself</strong></p>
+    <highlight language="config">
+
 RewriteMap lc int:tolower
 RewriteRule (.*?[A-Z]+.*) ${lc:$1} [R]
     </highlight>
@@ -356,7 +358,7 @@ RewriteRule (.*?[A-Z]+.*) ${lc:$1} [R]
     <p>A simple example is shown here which will replace all dashes with
     underscores in a request URI.</p>
     
-<strong>Rewrite configuration</strong>
+<p><strong>Rewrite configuration</strong></p>
     <highlight language="config">
 
 RewriteMap d2u prg:/www/bin/dash2under.pl<br />