]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fix incorrect example. (Missing slash)
authorRich Bowen <rbowen@apache.org>
Wed, 23 Mar 2011 20:40:41 +0000 (20:40 +0000)
committerRich Bowen <rbowen@apache.org>
Wed, 23 Mar 2011 20:40:41 +0000 (20:40 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1084728 13f79535-47bb-0310-9956-ffa450edef68

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

index f80e3327ce1cc547bbadda6071d26adb1889e7df..888fc91d800629ff7c76886ffc7bbad6712648a6 100644 (file)
@@ -68,7 +68,7 @@ ProxyPassReverse /products/widget/ http://product.example.com/widget/
 <div class="example"><p><code>
 RewriteCond %{REQUEST_FILENAME}       <strong>!-f</strong><br />
 RewriteCond %{REQUEST_FILENAME}       <strong>!-d</strong><br />
-RewriteRule ^/(.*) http://<strong>old</strong>.example.com$1 [<strong>P</strong>]<br />
+RewriteRule ^/(.*) http://<strong>old</strong>.example.com/$1 [<strong>P</strong>]<br />
 ProxyPassReverse / http://old.example.com/
 </code></p></div>
     </dd>
index 89c7676d08f9fad3f36fa5bb6969eb269e7e066e..1020cb56757504ffa439eb0b6d6a735fabe6e1f9 100644 (file)
@@ -80,7 +80,7 @@ ProxyPassReverse /products/widget/ http://product.example.com/widget/
 <example>
 RewriteCond %{REQUEST_FILENAME}       <strong>!-f</strong><br />
 RewriteCond %{REQUEST_FILENAME}       <strong>!-d</strong><br />
-RewriteRule ^/(.*) http://<strong>old</strong>.example.com$1 [<strong>P</strong>]<br />
+RewriteRule ^/(.*) http://<strong>old</strong>.example.com/$1 [<strong>P</strong>]<br />
 ProxyPassReverse / http://old.example.com/
 </example>
     </dd>