From 7d22ea1fdf4574da3dddd2fe264d26f6901f7824 Mon Sep 17 00:00:00 2001 From: Ruediger Pluem Date: Sat, 1 Sep 2007 17:42:16 +0000 Subject: [PATCH] * Improve ProxySet documentation by pointing out one pitfall and one interesting use case. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@571836 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_proxy.xml | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/docs/manual/mod/mod_proxy.xml b/docs/manual/mod/mod_proxy.xml index 813ee2117c..2f15a5f5b8 100644 --- a/docs/manual/mod/mod_proxy.xml +++ b/docs/manual/mod/mod_proxy.xml @@ -523,10 +523,14 @@ expressions and later.

This directive is used as an alternate method of setting any of the - parameters available to Proxy balancers and members normally done via the + parameters available to Proxy balancers and workers normally done via the ProxyPass directive. If used - within a <Proxy balancer://...> container - directive, the url argument is not required.

+ within a <Proxy balancer url|worker url> + container directive, the url argument is not required. As a side + effect the respective balancer or worker gets created. This can be useful + when doing reverse proxying via a + RewriteRule instead of a + ProxyPass directive.

<Proxy balancer://hotcluster>
@@ -538,10 +542,28 @@ expressions </Proxy>
+ + <Proxy http://backend>
+ + ProxySet keepalive=On
+
+ </Proxy> +
+ ProxySet balancer://foo lbmethod=bytraffic timeout=15 + + ProxySet ajp://backend:7001 timeout=15 + + + Warning +

Keep in mind that the same parameter key can have a different meaning + depending whether it is applied to a balancer or a worker as shown by the two + examples above regarding timeout.

+
+
-- 2.40.0