From: Mike Rumph When used inside a Suppose the local server has address unix:
URL is http://example.com/
;
thenhttp://example.com/mirror/foo/bar
to be internally converted
into a proxy request to http://backend.example.com/bar
.
The ProxyPass directive is not supported in
If you require a more flexible reverse-proxy configuration, see the
+ [P]
flag.
The following alternative syntax is possible; however, it can carry a performance penalty when present in very large numbers. The advantage of the below syntax is that it allows for dynamic control via the @@ -938,6 +954,8 @@ ProxyPass "/mirror/foo" "http://backend.example.com" +
ProxyPass key=value
Parameters
In Apache HTTP Server 2.1 and later, mod_proxy supports pooled connections to a backend server. Connections created on demand can be retained in a pool for future use. Limits on the pool size @@ -1275,6 +1293,8 @@ ProxyPass "/" "balancer://hotcluster/" </Proxy> +
Additional ProxyPass Keywords
+Normally, mod_proxy will canonicalise ProxyPassed URLs. But this may be incompatible with some backends, particularly those that make use of PATH_INFO. The optional nocanon @@ -1288,22 +1308,6 @@ ProxyPass "/" "balancer://hotcluster/" The optional noquery keyword (available in httpd 2.4.1 and later) prevents this.
-When used inside a
This directive is not supported in
If you require a more flexible reverse-proxy configuration, see the
- [P]
flag.
The optional interpolate keyword, in combination with