Selected balancerMember route?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Selected balancerMember route?

Version - Apache: 2.4.29

In summary, I am observing that BALANCER_WORKER_ROUTE, BALANCER_WORKER_CHANGED, etc. environment variables are not set until AFTER the selected balancerMember host has responded.  How can I determine which balancerMember has been selected BEFORE the initial request is sent to the balancerMember host to allow for altering or adding headers to that initial request?

<Proxy "balancer://myappinstances">
BalancerMember "" route=app1
BalancerMember "" route=app2
ProxySet stickysession=SERVERID
<Location "/myapp">
       Header add Set-Cookie "SERVERID=myapp.%{BALANCER_WORKER_ROUTE}e; path=/myapp" env=BALANCER_ROUTE_CHANGED
       ProxyPass balancer://myappinstances stickysession=SERVERID nofailover=on
       ProxyPassReverse balancer://myappinstances


This email and any attachments are intended solely for the use of the individual or entity to whom it is addressed and may be confidential and/or privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email and all attachments,

(iii) Dassault Systèmes does not accept or assume any liability or responsibility for any use of or reliance on this email.

Please be informed that your personal data are processed according to our data privacy policy as described on our website. Should you have any questions related to personal data protection, please contact 3DS Data Protection Officer at [hidden email]<mailto:[hidden email]>

For other languages, go to

To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]