From 538e0a1f2c27c2d64f11b167bf2bfde8f3d785ca Mon Sep 17 00:00:00 2001
From: Takashi Sato
Date: Fri, 6 Jun 2008 15:52:12 +0000
Subject: [PATCH] Merge the rest of r627729 from trunk: wordsmithing
Merge r409455 from trunk:
* Add a note about trailing slashes for ProxyPass and fix the balancer example
accordingly.
PR: 39203
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@663989 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/mod/mod_proxy.xml | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/docs/manual/mod/mod_proxy.xml b/docs/manual/mod/mod_proxy.xml
index 76496181299..ed73e44a310 100644
--- a/docs/manual/mod/mod_proxy.xml
+++ b/docs/manual/mod/mod_proxy.xml
@@ -598,6 +598,14 @@ expressions
http://example.com/mirror/foo/bar
to be internally converted
into a proxy request to http://backend.example.com/bar
.
+
+ If the first argument ends with a trailing /, the second
+ argument should also end with a trailing / and vice
+ versa. Otherwise the resulting requests to the backend may miss some
+ needed slashes and do not deliver the expected results.
+
+
+
The !
directive is useful in situations where you don't want
to reverse-proxy a subdirectory, e.g.
@@ -672,7 +680,7 @@ expressions
This helps in various situations where a firewall between Apache and
the backend server (regardless of protocol) tends to silently
drop connections or when backends themselves may be under round-
- robin DNS. To prevent mod_proxy from reusing the backend connection,
+ robin DNS. To disable connection pooling reuse,
set this property value to On
.
flushpackets |
@@ -820,7 +828,7 @@ expressions
A sample balancer setup
ProxyPass /special-area http://special.example.com/ smax=5 max=10
- ProxyPass / balancer://mycluster stickysession=JSESSIONID|jsessionid nofailover=On
+ ProxyPass / balancer://mycluster/ stickysession=JSESSIONID|jsessionid nofailover=On
<Proxy balancer://mycluster>
BalancerMember http://1.2.3.4:8009
--
2.47.2