From: Daniel Gruno Date: Wed, 9 May 2012 07:43:26 +0000 (+0000) Subject: rebuild X-Git-Tag: 2.5.0-alpha~6851 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94893154537361a0367367952f5f07f2bfd47e24;p=thirdparty%2Fapache%2Fhttpd.git rebuild git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1335957 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/rewrite/advanced.html.en b/docs/manual/rewrite/advanced.html.en index ac154f112cb..f976a523e70 100644 --- a/docs/manual/rewrite/advanced.html.en +++ b/docs/manual/rewrite/advanced.html.en @@ -93,10 +93,8 @@ http://physical_host_of_user1/u/user/anypath
 RewriteEngine on
-
 RewriteMap      users-to-hosts   txt:/path/to/map.users-to-hosts
-
-RewriteRule   ^/u/([^/]+)/?(.*)   http://${users-to-hosts:$1|server0}/u/$1/$2
+RewriteRule   ^/u/([^/]+)/?(.*)   http://${users-to-hosts:$1|server0}/u/$1/$2
 
@@ -129,7 +127,7 @@ RewriteRule ^/u/([^/]+)/?(.*) http://${users-to-hos
 # This example is valid in per-directory context only
-RewriteCond %{REQUEST_URI}   !-U
+RewriteCond %{REQUEST_URI}   !-U
 RewriteRule ^(.+)\.html$          /regenerate_page.cgi   [PT,L]
 
@@ -172,7 +170,6 @@ RewriteRule ^(.+)\.html$ /regenerate_page.cgi [PT,L]
 RewriteEngine on
 RewriteMap lb rnd:/path/to/serverlist.txt
-
 RewriteRule ^/(.*) http://${lb:servers}/$1 [P,L]
 
diff --git a/docs/manual/rewrite/proxy.html.en b/docs/manual/rewrite/proxy.html.en index 2685a21252e..2bffcf4c218 100644 --- a/docs/manual/rewrite/proxy.html.en +++ b/docs/manual/rewrite/proxy.html.en @@ -59,7 +59,7 @@ A number of recipes are provided that describe common scenarios.

 RewriteEngine  on
 RewriteBase    /products/
-RewriteRule    ^widget/(.*)$  http://product.example.com/widget/$1  [P]
+RewriteRule    ^widget/(.*)$  http://product.example.com/widget/$1  [P]
 ProxyPassReverse /products/widget/ http://product.example.com/widget/
 
@@ -70,9 +70,9 @@ ProxyPassReverse /products/widget/ http://product.example.com/widget/ has been migrated yet.

-RewriteCond %{REQUEST_FILENAME}       !-f
-RewriteCond %{REQUEST_FILENAME}       !-d
-RewriteRule ^/(.*) http://old.example.com/$1 [P]
+RewriteCond %{REQUEST_FILENAME}       !-f
+RewriteCond %{REQUEST_FILENAME}       !-d
+RewriteRule ^/(.*) http://old.example.com/$1 [P]
 ProxyPassReverse / http://old.example.com/