httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1330318 - in /httpd/httpd/trunk/docs/manual/rewrite: access.html.en access.xml avoid.html.en avoid.xml flags.xml.fr flags.xml.meta remapping.html.en remapping.xml rewritemap.html.en rewritemap.xml
Date Wed, 25 Apr 2012 14:48:50 GMT
Author: humbedooh
Date: Wed Apr 25 14:48:49 2012
New Revision: 1330318

URL: http://svn.apache.org/viewvc?rev=1330318&view=rev
Log:
Fix some whitespace issues

Modified:
    httpd/httpd/trunk/docs/manual/rewrite/access.html.en
    httpd/httpd/trunk/docs/manual/rewrite/access.xml
    httpd/httpd/trunk/docs/manual/rewrite/avoid.html.en
    httpd/httpd/trunk/docs/manual/rewrite/avoid.xml
    httpd/httpd/trunk/docs/manual/rewrite/flags.xml.fr
    httpd/httpd/trunk/docs/manual/rewrite/flags.xml.meta
    httpd/httpd/trunk/docs/manual/rewrite/remapping.html.en
    httpd/httpd/trunk/docs/manual/rewrite/remapping.xml
    httpd/httpd/trunk/docs/manual/rewrite/rewritemap.html.en
    httpd/httpd/trunk/docs/manual/rewrite/rewritemap.xml

Modified: httpd/httpd/trunk/docs/manual/rewrite/access.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/access.html.en?rev=1330318&r1=1330317&r2=1330318&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/access.html.en (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/access.html.en Wed Apr 25 14:48:49 2012
@@ -187,9 +187,9 @@ RewriteRule ^<strong>/secret/files/</str
       <pre class="prettyprint lang-config">
 SetEnvIfNoCase User-Agent ^NameOfBadRobot goaway
 &lt;Location /secret/files&gt;
-	Order allow,deny
-	Allow from all
-	Deny from env=goaway
+    Order allow,deny
+    Allow from all
+    Deny from env=goaway
 &lt;/Location&gt;
       </pre>
 

Modified: httpd/httpd/trunk/docs/manual/rewrite/access.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/access.xml?rev=1330318&r1=1330317&r2=1330318&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/access.xml (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/access.xml Wed Apr 25 14:48:49 2012
@@ -187,9 +187,9 @@ RewriteRule ^<strong>/secret/files/</str
       <highlight language="config">
 SetEnvIfNoCase User-Agent ^NameOfBadRobot goaway
 &lt;Location /secret/files&gt;
-	Order allow,deny
-	Allow from all
-	Deny from env=goaway
+    Order allow,deny
+    Allow from all
+    Deny from env=goaway
 &lt;/Location&gt;
       </highlight>
       <p>

Modified: httpd/httpd/trunk/docs/manual/rewrite/avoid.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/avoid.html.en?rev=1330318&r1=1330317&r2=1330318&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/avoid.html.en (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/avoid.html.en Wed Apr 25 14:48:49 2012
@@ -91,13 +91,13 @@ following:</p>
 
 <pre class="prettyprint lang-config">
 &lt;VirtualHost *:80&gt;
-	ServerName www.example.com
-	Redirect / https://www.example.com/
+    ServerName www.example.com
+    Redirect / https://www.example.com/
 &lt;/VirtualHost &gt;
 
 &lt;VirtualHost *:443&gt;
-	ServerName www.example.com
-	# ... SSL configuration goes here
+    ServerName www.example.com
+    # ... SSL configuration goes here
 &lt;/VirtualHost &gt;
 </pre>
 
@@ -212,7 +212,7 @@ hostname, such as <code>www.example.com<
 
 <pre class="prettyprint lang-config">
 &lt;If "$req{Host} != 'www.example.com'"&gt;
-	RedirectMatch (.*) http://www.example.com$1
+    RedirectMatch (.*) http://www.example.com$1
 &lt;/If&gt;
 </pre>
 

Modified: httpd/httpd/trunk/docs/manual/rewrite/avoid.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/avoid.xml?rev=1330318&r1=1330317&r2=1330318&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/avoid.xml (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/avoid.xml Wed Apr 25 14:48:49 2012
@@ -97,13 +97,13 @@ following:</p>
 
 <highlight language="config">
 &lt;VirtualHost *:80&gt;
-	ServerName www.example.com
-	Redirect / https://www.example.com/
+    ServerName www.example.com
+    Redirect / https://www.example.com/
 &lt;/VirtualHost &gt;
 
 &lt;VirtualHost *:443&gt;
-	ServerName www.example.com
-	# ... SSL configuration goes here
+    ServerName www.example.com
+    # ... SSL configuration goes here
 &lt;/VirtualHost &gt;
 </highlight>
 
@@ -218,7 +218,7 @@ module="core" type="section">If</directi
 
 <highlight language="config">
 &lt;If "$req{Host} != 'www.example.com'"&gt;
-	RedirectMatch (.*) http://www.example.com$1
+    RedirectMatch (.*) http://www.example.com$1
 &lt;/If&gt;
 </highlight>
 

Modified: httpd/httpd/trunk/docs/manual/rewrite/flags.xml.fr
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/flags.xml.fr?rev=1330318&r1=1330317&r2=1330318&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/flags.xml.fr (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/flags.xml.fr Wed Apr 25 14:48:49 2012
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="ISO-8859-1" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision : 1311806 -->
+<!-- English Revision: 1311806:1330312 (outdated) -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 

Modified: httpd/httpd/trunk/docs/manual/rewrite/flags.xml.meta
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/flags.xml.meta?rev=1330318&r1=1330317&r2=1330318&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/flags.xml.meta (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/flags.xml.meta Wed Apr 25 14:48:49 2012
@@ -8,6 +8,6 @@
 
   <variants>
     <variant>en</variant>
-    <variant>fr</variant>
+    <variant outdated="yes">fr</variant>
   </variants>
 </metafile>

Modified: httpd/httpd/trunk/docs/manual/rewrite/remapping.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/remapping.html.en?rev=1330318&r1=1330317&r2=1330318&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/remapping.html.en (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/remapping.html.en Wed Apr 25 14:48:49 2012
@@ -120,9 +120,7 @@ RewriteRule    ^<strong>/foo</strong>\.h
     use the Redirect directive. mod_rewrite was used in that earlier
     example in order to hide the redirect from the client:</p>
 
-    <pre class="prettyprint lang-config">
-    Redirect /foo.html /bar.html
-    </pre>
+    <pre class="prettyprint lang-config">Redirect /foo.html /bar.html</pre>
 
 
     </dd>
@@ -231,14 +229,12 @@ RewriteRule    ^foo\.<strong>html</stron
 #   rewriting document.html to document.php
 #   when and only when document.php exists
 &lt;Directory /var/www/htdocs&gt;
-<span class="indent">
-RewriteEngine on
-RewriteBase /var/www/htdocs
+    RewriteEngine on
+    RewriteBase /var/www/htdocs
 
-RewriteCond $1.php -f
-RewriteCond $1.html !-f
-RewriteRule ^(.*).html$ $1.php
-</span>
+    RewriteCond $1.php -f
+    RewriteCond $1.html !-f
+    RewriteRule ^(.*).html$ $1.php
 &lt;/Directory&gt;
 </pre>
 

Modified: httpd/httpd/trunk/docs/manual/rewrite/remapping.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/remapping.xml?rev=1330318&r1=1330317&r2=1330318&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/remapping.xml (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/remapping.xml Wed Apr 25 14:48:49 2012
@@ -116,9 +116,7 @@ RewriteRule    ^<strong>/foo</strong>\.h
     use the Redirect directive. mod_rewrite was used in that earlier
     example in order to hide the redirect from the client:</p>
 
-    <highlight language="config">
-    Redirect /foo.html /bar.html
-    </highlight>
+    <highlight language="config">Redirect /foo.html /bar.html</highlight>
 
     </dd>
   </dl>
@@ -222,14 +220,12 @@ RewriteRule    ^foo\.<strong>html</stron
 #   rewriting document.html to document.php
 #   when and only when document.php exists
 &lt;Directory /var/www/htdocs&gt;
-<indent>
-RewriteEngine on
-RewriteBase /var/www/htdocs
+    RewriteEngine on
+    RewriteBase /var/www/htdocs
 
-RewriteCond $1.php -f
-RewriteCond $1.html !-f
-RewriteRule ^(.*).html$ $1.php
-</indent>
+    RewriteCond $1.php -f
+    RewriteCond $1.html !-f
+    RewriteRule ^(.*).html$ $1.php
 &lt;/Directory&gt;
 </highlight>
     </dd>

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=1330318&r1=1330317&r2=1330318&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/rewritemap.html.en (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/rewritemap.html.en Wed Apr 25 14:48:49 2012
@@ -143,8 +143,8 @@ may be used, and give examples of each.<
     recipe:</p>
 
     <pre class="prettyprint lang-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]
     </pre>
 
 
@@ -325,9 +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>
-    RewriteMap lc int:tolower
-    RewriteRule (.*?[A-Z]+.*) ${lc:$1} [R]
+    <pre class="prettyprint lang-config"><strong>#Redirect a URI to an all-lowercase
version of itself</strong>
+RewriteMap lc int:tolower
+RewriteRule (.*?[A-Z]+.*) ${lc:$1} [R]
     </pre>
 
 

Modified: httpd/httpd/trunk/docs/manual/rewrite/rewritemap.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/rewritemap.xml?rev=1330318&r1=1330317&r2=1330318&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/rewritemap.xml (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/rewritemap.xml Wed Apr 25 14:48:49 2012
@@ -135,8 +135,8 @@ may be used, and give examples of each.<
     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>



Mime
View raw message