From: Daniel Gruno Date: Thu, 10 May 2012 07:09:36 +0000 (+0000) Subject: Fix up an example that was missing highlighting X-Git-Tag: 2.5.0-alpha~6844 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=da6beff1dca51051e3b2af6bffce43c8caea0a10;p=apache Fix up an example that was missing highlighting git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1336501 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_proxy_balancer.html.en b/docs/manual/mod/mod_proxy_balancer.html.en index 4e5c3b96ad..631d2e87a4 100644 --- a/docs/manual/mod/mod_proxy_balancer.html.en +++ b/docs/manual/mod/mod_proxy_balancer.html.en @@ -269,13 +269,14 @@ ProxyPassReverse /test balancer://mycluster

Finally you can support cookies and URL encoding at the same time, by configuring the name of the cookie and the name of the URL parameter separated by a vertical bar (|) as in the following example:

-

- ProxyPass /test balancer://mycluster stickysession=JSESSIONID|jsessionid scolonpathdelim=On
- <Proxy balancer://mycluster>
- BalancerMember http://192.168.1.50:80 route=node1
- BalancerMember http://192.168.1.51:80 route=node2
- </Proxy>
-

+
+ProxyPass /test balancer://mycluster stickysession=JSESSIONID|jsessionid scolonpathdelim=On
+<Proxy balancer://mycluster>
+    BalancerMember http://192.168.1.50:80 route=node1
+    BalancerMember http://192.168.1.51:80 route=node2
+</Proxy>
+    
+

If the cookie and the request parameter both provide routing information for the same request, the information from the request parameter is used.

top
diff --git a/docs/manual/mod/mod_proxy_balancer.xml b/docs/manual/mod/mod_proxy_balancer.xml index f8f097ec6a..692a110bcb 100644 --- a/docs/manual/mod/mod_proxy_balancer.xml +++ b/docs/manual/mod/mod_proxy_balancer.xml @@ -248,13 +248,13 @@ ProxyPassReverse /test balancer://mycluster

Finally you can support cookies and URL encoding at the same time, by configuring the name of the cookie and the name of the URL parameter separated by a vertical bar (|) as in the following example:

- - ProxyPass /test balancer://mycluster stickysession=JSESSIONID|jsessionid scolonpathdelim=On
- <Proxy balancer://mycluster>
- BalancerMember http://192.168.1.50:80 route=node1
- BalancerMember http://192.168.1.51:80 route=node2
- </Proxy>
-
+ +ProxyPass /test balancer://mycluster stickysession=JSESSIONID|jsessionid scolonpathdelim=On +<Proxy balancer://mycluster> + BalancerMember http://192.168.1.50:80 route=node1 + BalancerMember http://192.168.1.51:80 route=node2 +</Proxy> +

If the cookie and the request parameter both provide routing information for the same request, the information from the request parameter is used.