Ruediger Pluem wrote:
You can already do this with mod_headers. Just addHeader 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 this, it seems quite obvious.
No need for additional code IMHO.
I agree. "Native" support for this in proxy module directly would be nice, but not necessarily worth the effort.
Thanks, Jani