Getting weird errors with the following configuration:
<virtualhost ###.###.###.###:443>
ServerName myappserver.mysite.com
ProxyRequests Off
ProxyPreserveHost On
Header add Set-Cookie: "ROUTEID=.%{BALANCER_WORKER_ROUTE}e; path=/" env=BALANCER_ROUTE_CHANGED
<Proxy balancer://balancer1>
BalancerMember https://appserver1:443 route=node1
BalancerMember https://appserver2:443 route=node2
</Proxy>
ProxyPass /app1 balancer://balancer1/app1 stickysession=ROUTEID
ProxyPassReverse /app1 balancer://balancer1/app1
<Proxy balancer://balancer2>
BalancerMember https://appserver1:443 route=node1
Balancermember https://appserver2:443 route=node2
</Proxy>
ProxyPass /app1 balancer://balancer2/app2 stickysession=ROUTEID
ProxyPassReverse /app1 balancer://balancer2/app2
...
Not getting any errors when starting httpd, but lots of debug entries in the error log in the form:
AH01158: Looking at balancer://balancer1 -> https://appserver1:443 initialized?
AH01158: Looking at balancer://balancer1 -> https://appserver2:443 initialized?
AH01158: Looking at balancer://balancer2 -> https://appserver1:443 initialized?
AH01158: Looking at balancer://balancer2 -> https://appserver2:443 initialized?
Traffic is getting through, but strange behavior is observed, like sticky sessions not being respected, despite the directives.
I have a lot of other virtual hosts setup this way, but usually only one lb per vhost. No luck on getting confirmation in the man pages that httpd supports multiple balancers in the same virtual host.
Running 2.4.6 on RHEL7.