From: Daniel Gruno Date: Wed, 25 Apr 2012 14:48:49 +0000 (+0000) Subject: Fix some whitespace issues X-Git-Tag: 2.5.0-alpha~7025 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=00fb4897e190bb26895f0d021b8321f8d623ec7d;p=apache Fix some whitespace issues git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330318 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/rewrite/access.html.en b/docs/manual/rewrite/access.html.en index b31b8fcaff..0b6896e17f 100644 --- a/docs/manual/rewrite/access.html.en +++ b/docs/manual/rewrite/access.html.en @@ -187,9 +187,9 @@ RewriteRule ^/secret/files/ - [F]
 SetEnvIfNoCase User-Agent ^NameOfBadRobot goaway
 <Location /secret/files>
-	Order allow,deny
-	Allow from all
-	Deny from env=goaway
+    Order allow,deny
+    Allow from all
+    Deny from env=goaway
 </Location>
       
diff --git a/docs/manual/rewrite/access.xml b/docs/manual/rewrite/access.xml index 7e04240db0..2b6c677c5b 100644 --- a/docs/manual/rewrite/access.xml +++ b/docs/manual/rewrite/access.xml @@ -187,9 +187,9 @@ RewriteRule ^/secret/files/ - [F] SetEnvIfNoCase User-Agent ^NameOfBadRobot goaway <Location /secret/files> - Order allow,deny - Allow from all - Deny from env=goaway + Order allow,deny + Allow from all + Deny from env=goaway </Location>

diff --git a/docs/manual/rewrite/avoid.html.en b/docs/manual/rewrite/avoid.html.en index 5185a43752..f66b18f4aa 100644 --- a/docs/manual/rewrite/avoid.html.en +++ b/docs/manual/rewrite/avoid.html.en @@ -91,13 +91,13 @@ following:

 <VirtualHost *:80>
-	ServerName www.example.com
-	Redirect / https://www.example.com/
+    ServerName www.example.com
+    Redirect / https://www.example.com/
 </VirtualHost >
 
 <VirtualHost *:443>
-	ServerName www.example.com
-	# ... SSL configuration goes here
+    ServerName www.example.com
+    # ... SSL configuration goes here
 </VirtualHost >
 
@@ -212,7 +212,7 @@ hostname, such as www.example.com instead of
 <If "$req{Host} != 'www.example.com'">
-	RedirectMatch (.*) http://www.example.com$1
+    RedirectMatch (.*) http://www.example.com$1
 </If>
 
diff --git a/docs/manual/rewrite/avoid.xml b/docs/manual/rewrite/avoid.xml index fa79a6fa58..89833228ad 100644 --- a/docs/manual/rewrite/avoid.xml +++ b/docs/manual/rewrite/avoid.xml @@ -97,13 +97,13 @@ following:

<VirtualHost *:80> - ServerName www.example.com - Redirect / https://www.example.com/ + ServerName www.example.com + Redirect / https://www.example.com/ </VirtualHost > <VirtualHost *:443> - ServerName www.example.com - # ... SSL configuration goes here + ServerName www.example.com + # ... SSL configuration goes here </VirtualHost > @@ -218,7 +218,7 @@ module="core" type="section">If directive, as shown here:

<If "$req{Host} != 'www.example.com'"> - RedirectMatch (.*) http://www.example.com$1 + RedirectMatch (.*) http://www.example.com$1 </If> diff --git a/docs/manual/rewrite/flags.xml.fr b/docs/manual/rewrite/flags.xml.fr index f76cd17fe6..5f7c2d8f73 100644 --- a/docs/manual/rewrite/flags.xml.fr +++ b/docs/manual/rewrite/flags.xml.fr @@ -1,7 +1,7 @@ - + diff --git a/docs/manual/rewrite/flags.xml.meta b/docs/manual/rewrite/flags.xml.meta index 912229af03..e4f3ee6f49 100644 --- a/docs/manual/rewrite/flags.xml.meta +++ b/docs/manual/rewrite/flags.xml.meta @@ -8,6 +8,6 @@ en - fr + fr diff --git a/docs/manual/rewrite/remapping.html.en b/docs/manual/rewrite/remapping.html.en index 76966b1fe4..485b3b023f 100644 --- a/docs/manual/rewrite/remapping.html.en +++ b/docs/manual/rewrite/remapping.html.en @@ -120,9 +120,7 @@ RewriteRule ^/foo\.html$ bar.html [ -
-    Redirect /foo.html /bar.html
-    
+
Redirect /foo.html /bar.html
@@ -231,14 +229,12 @@ RewriteRule ^foo\.html$ foo.cgi [H= -RewriteEngine on -RewriteBase /var/www/htdocs + RewriteEngine on + RewriteBase /var/www/htdocs -RewriteCond $1.php -f -RewriteCond $1.html !-f -RewriteRule ^(.*).html$ $1.php - + RewriteCond $1.php -f + RewriteCond $1.html !-f + RewriteRule ^(.*).html$ $1.php </Directory> diff --git a/docs/manual/rewrite/remapping.xml b/docs/manual/rewrite/remapping.xml index 3d47432317..3f615d38eb 100644 --- a/docs/manual/rewrite/remapping.xml +++ b/docs/manual/rewrite/remapping.xml @@ -116,9 +116,7 @@ RewriteRule ^/foo\.html$ bar.html [ - - Redirect /foo.html /bar.html - + Redirect /foo.html /bar.html @@ -222,14 +220,12 @@ RewriteRule ^foo\.html$ foo.cgi [H= -RewriteEngine on -RewriteBase /var/www/htdocs + RewriteEngine on + RewriteBase /var/www/htdocs -RewriteCond $1.php -f -RewriteCond $1.html !-f -RewriteRule ^(.*).html$ $1.php - + RewriteCond $1.php -f + RewriteCond $1.html !-f + RewriteRule ^(.*).html$ $1.php </Directory> diff --git a/docs/manual/rewrite/rewritemap.html.en b/docs/manual/rewrite/rewritemap.html.en index 3e4f62429b..3941a9c10a 100644 --- a/docs/manual/rewrite/rewritemap.html.en +++ b/docs/manual/rewrite/rewritemap.html.en @@ -143,8 +143,8 @@ may be used, and give examples of each.

recipe:

#Product to ID configuration
-    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]
     
@@ -325,9 +325,9 @@ by many requests. the int function, and then use that in your RewriteRule:

-
Redirect a URI to an all-lowercase version of itself
-    RewriteMap lc int:tolower
-    RewriteRule (.*?[A-Z]+.*) ${lc:$1} [R]
+    
#Redirect a URI to an all-lowercase version of itself
+RewriteMap lc int:tolower
+RewriteRule (.*?[A-Z]+.*) ${lc:$1} [R]
     
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.

recipe:

#Product to ID configuration - 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]

We assume here that the prods.php script knows what @@ -312,9 +312,9 @@ by many requests. the int function, and then use that in your RewriteRule:

- Redirect a URI to an all-lowercase version of itself - RewriteMap lc int:tolower - RewriteRule (.*?[A-Z]+.*) ${lc:$1} [R] + #Redirect a URI to an all-lowercase version of itself +RewriteMap lc int:tolower +RewriteRule (.*?[A-Z]+.*) ${lc:$1} [R]