<p>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 (<code>|</code>) as in the following example:</p>
- <div class="example"><p><code>
- ProxyPass /test balancer://mycluster stickysession=JSESSIONID|jsessionid scolonpathdelim=On<br />
- <Proxy balancer://mycluster><br />
- BalancerMember http://192.168.1.50:80 route=node1<br />
- BalancerMember http://192.168.1.51:80 route=node2<br />
- </Proxy><br />
- </code></p></div>
+ <pre class="prettyprint lang-config">
+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>
+ </pre>
+
<p>If the cookie and the request parameter both provide routing information
for the same request, the information from the request parameter is used.</p>
</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<p>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 (<code>|</code>) as in the following example:</p>
- <example>
- ProxyPass /test balancer://mycluster stickysession=JSESSIONID|jsessionid scolonpathdelim=On<br />
- <Proxy balancer://mycluster><br />
- BalancerMember http://192.168.1.50:80 route=node1<br />
- BalancerMember http://192.168.1.51:80 route=node2<br />
- </Proxy><br />
- </example>
+ <highlight language="config">
+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>
+ </highlight>
<p>If the cookie and the request parameter both provide routing information
for the same request, the information from the request parameter is used.</p>
</section>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
-<!-- English Revision: 395228:1334022 (outdated) -->
+<!-- English Revision: 395228:1336501 (outdated) -->
<!--
Licensed to the Apache Software Foundation (ASF) under one or more