Re: Re: Can Apache Proxy Balancer gerenate value into cookie ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you.
I succeeded this.

Kenji

--- Rainer Jung  wrote:
> 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: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 
>

--------------------------------------
Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/ie8/

---------------------------------------------------------------------
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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux