On 15.09.2010 04:11, FUNASAKI KENJI wrote:
Hi,
I use Apache Proxy Balancer and Tomcat.
And I succeeded Load Balancing and Sticky Session.
However, I'd like not to use AP's jvmRoute,
And I wish that Apach Proxy Balancer would set jvmRoute into user's cookie.
( like Amazon Elastic Load Balancing, load balancer-generated HTTP cookies.
http://docs.amazonwebservices.com/ElasticLoadBalancing/latest/DeveloperGuide/index.html?US_EnableStickySessionsLBCookies.html
)
For example,
first time, userA access host1 through LB,
and the LB set JSESSIONID=xxx.jvm1 into user's cookie.
After that, user continue to connect host1 through LB.
Is it possible ?
Yes. The documentation fo trunk contains an example that also works for
Apache 2.2. See:
http://httpd.apache.org/docs/trunk/mod/mod_proxy_balancer.html#example
The cookie is set using mod_headers.
Regards,
Rainer
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [email protected]
" from the digest: [email protected]
For additional commands, e-mail: [email protected]