From: Takashi Sato Date: Fri, 6 Jun 2008 15:52:12 +0000 (+0000) Subject: Merge the rest of r627729 from trunk: X-Git-Tag: 2.2.9~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=538e0a1f2c27c2d64f11b167bf2bfde8f3d785ca;p=thirdparty%2Fapache%2Fhttpd.git 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 --- 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