From: Ruediger Pluem 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.
ProxyPass /special-area http://special.example.com/ smax=5 max=10
- ProxyPass / balancer://mycluster stickysession=jsessionid nofailover=On
+ ProxyPass / balancer://mycluster/ stickysession=jsessionid nofailover=On
<Proxy balancer://mycluster>
BalancerMember http://1.2.3.4:8009
diff --git a/docs/manual/mod/mod_proxy.xml b/docs/manual/mod/mod_proxy.xml
index 487ab0ea13a..e5ad63a02da 100644
--- a/docs/manual/mod/mod_proxy.xml
+++ b/docs/manual/mod/mod_proxy.xml
@@ -489,6 +489,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.