httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1331429 - in /httpd/httpd/trunk/docs/manual/rewrite: rewritemap.html.en rewritemap.xml
Date Fri, 27 Apr 2012 13:43:19 GMT
Author: humbedooh
Date: Fri Apr 27 13:43:19 2012
New Revision: 1331429

URL: http://svn.apache.org/viewvc?rev=1331429&view=rev
Log:
Make XML valid and fix up the other titles.

Modified:
    httpd/httpd/trunk/docs/manual/rewrite/rewritemap.html.en
    httpd/httpd/trunk/docs/manual/rewrite/rewritemap.xml

Modified: httpd/httpd/trunk/docs/manual/rewrite/rewritemap.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/rewritemap.html.en?rev=1331429&r1=1331428&r2=1331429&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/rewritemap.html.en (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/rewritemap.html.en Fri Apr 27 13:43:19 2012
@@ -141,8 +141,8 @@ may be used, and give examples of each.<
     <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 />

Modified: httpd/httpd/trunk/docs/manual/rewrite/rewritemap.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/rewritemap.xml?rev=1331429&r1=1331428&r2=1331429&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/rewritemap.xml (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/rewritemap.xml Fri Apr 27 13:43:19 2012
@@ -133,8 +133,8 @@ may be used, and give examples of each.<
     <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 />



Mime
View raw message