From 1a898ced0a396b986805730cdc0d199c694f25c1 Mon Sep 17 00:00:00 2001 From: Rich Bowen Date: Wed, 23 Mar 2011 20:40:41 +0000 Subject: [PATCH] Fix incorrect example. (Missing slash) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1084728 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/rewrite/proxy.html.en | 2 +- docs/manual/rewrite/proxy.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/manual/rewrite/proxy.html.en b/docs/manual/rewrite/proxy.html.en index f80e3327ce1..888fc91d800 100644 --- a/docs/manual/rewrite/proxy.html.en +++ b/docs/manual/rewrite/proxy.html.en @@ -68,7 +68,7 @@ ProxyPassReverse /products/widget/ http://product.example.com/widget/

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

diff --git a/docs/manual/rewrite/proxy.xml b/docs/manual/rewrite/proxy.xml index 89c7676d08f..1020cb56757 100644 --- a/docs/manual/rewrite/proxy.xml +++ b/docs/manual/rewrite/proxy.xml @@ -80,7 +80,7 @@ ProxyPassReverse /products/widget/ http://product.example.com/widget/ RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
-RewriteRule ^/(.*) http://old.example.com$1 [P]
+RewriteRule ^/(.*) http://old.example.com/$1 [P]
ProxyPassReverse / http://old.example.com/
-- 2.47.2