Re: Adding stickysession cookie on the proxy

2008-03-06 Thread Dirk-Willem van Gulik
On Mar 6, 2008, at 9:05 PM, Jim Jagielski wrote: On Mar 6, 2008, at 12:45 PM, Jani M. wrote: Ruediger Pluem wrote: You can already do this with mod_headers. Just add Header add Set-Cookie "MYCOOKIE=SOMEVALUE.% {BALANCER_WORKER_ROUTE}e; path=/;" env=BALANCER_ROUTE_CHANGED Ah. Don't know w

Re: Adding stickysession cookie on the proxy

2008-03-06 Thread Jim Jagielski
On Mar 6, 2008, at 3:10 PM, Joshua Slive wrote: On Thu, Mar 6, 2008 at 3:05 PM, Jim Jagielski <[EMAIL PROTECTED]> wrote: The advantage of mod_headers is more flexibility that what could be "comfortably" added to the proxy module itself as well... This comes up maybe once or twice a year... I

Re: Adding stickysession cookie on the proxy

2008-03-06 Thread Joshua Slive
On Thu, Mar 6, 2008 at 3:05 PM, Jim Jagielski <[EMAIL PROTECTED]> wrote: > The advantage of mod_headers is more flexibility that what could > be "comfortably" added to the proxy module itself as well... > > This comes up maybe once or twice a year... I think I'll add > it to my standard Apache

Re: Adding stickysession cookie on the proxy

2008-03-06 Thread Jim Jagielski
On Mar 6, 2008, at 12:45 PM, Jani M. wrote: Ruediger Pluem wrote: You can already do this with mod_headers. Just add Header add Set-Cookie "MYCOOKIE=SOMEVALUE.% {BALANCER_WORKER_ROUTE}e; path=/;" env=BALANCER_ROUTE_CHANGED Ah. Don't know why, but for some reason I didn't even think of using

Re: Adding stickysession cookie on the proxy

2008-03-06 Thread Jani M.
Ruediger Pluem wrote: You can already do this with mod_headers. Just add Header add Set-Cookie "MYCOOKIE=SOMEVALUE.%{BALANCER_WORKER_ROUTE}e; path=/;" env=BALANCER_ROUTE_CHANGED Ah. Don't know why, but for some reason I didn't even think of using mod_headers for this. Now that you mentioned

Re: Adding stickysession cookie on the proxy

2008-03-06 Thread Nick Gearls
Great idea Nick Jani M. wrote: Hi, I've been playing with the idea of adding support for the proxy module to add stickysession cookies on behalf of the backend servers. I have one case on my hands right now where this would be needed, and I can think of this being of use for others too.

Re: Adding stickysession cookie on the proxy

2008-03-05 Thread Ruediger Pluem
On 03/05/2008 09:12 PM, Jani M. wrote: Hi, I've been playing with the idea of adding support for the proxy module to add stickysession cookies on behalf of the backend servers. I have one case on my hands right now where this would be needed, and I can think of this being of use for others

Re: Adding stickysession cookie on the proxy

2008-03-05 Thread Akins, Brian
On 3/5/08 3:12 PM, "Jani M." <[EMAIL PROTECTED]> wrote: > To start with, am I correct in assuming that others might find use for > this feature? We do this in our "homegrown" proxy. One less thing for the java guys to think about... -- Brian Akins Chief Operations Engineer Turner Digital Me

Adding stickysession cookie on the proxy

2008-03-05 Thread Jani M.
Hi, I've been playing with the idea of adding support for the proxy module to add stickysession cookies on behalf of the backend servers. I have one case on my hands right now where this would be needed, and I can think of this being of use for others too. The way this would work is that if