summaryrefslogtreecommitdiff
path: root/docs/manual/rewrite/proxy.html.en
diff options
context:
space:
mode:
authorDaniel Gruno <humbedooh@apache.org>2012-05-09 07:43:26 +0000
committerDaniel Gruno <humbedooh@apache.org>2012-05-09 07:43:26 +0000
commit94893154537361a0367367952f5f07f2bfd47e24 (patch)
tree457b29949c15d19ae0c20d1edd89ae8b5c300431 /docs/manual/rewrite/proxy.html.en
parent0a95210319e46edbd5b763a720d602f4980723c2 (diff)
downloadhttpd-94893154537361a0367367952f5f07f2bfd47e24.tar.gz
rebuild
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1335957 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/rewrite/proxy.html.en')
-rw-r--r--docs/manual/rewrite/proxy.html.en8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/manual/rewrite/proxy.html.en b/docs/manual/rewrite/proxy.html.en
index 2685a21252..2bffcf4c21 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.</p>
<pre class="prettyprint lang-config">
RewriteEngine on
RewriteBase /products/
-RewriteRule ^<strong>widget/</strong>(.*)$ <strong>http://product.example.com/widget/</strong>$1 [<strong>P</strong>]
+RewriteRule ^widget/(.*)$ http://product.example.com/widget/$1 [P]
ProxyPassReverse /products/widget/ http://product.example.com/widget/
</pre>
@@ -70,9 +70,9 @@ ProxyPassReverse /products/widget/ http://product.example.com/widget/
has been migrated yet.</p>
<pre class="prettyprint lang-config">
-RewriteCond %{REQUEST_FILENAME} <strong>!-f</strong>
-RewriteCond %{REQUEST_FILENAME} <strong>!-d</strong>
-RewriteRule ^/(.*) http://<strong>old</strong>.example.com/$1 [<strong>P</strong>]
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteCond %{REQUEST_FILENAME} !-d
+RewriteRule ^/(.*) http://old.example.com/$1 [P]
ProxyPassReverse / http://old.example.com/
</pre>