ProxyPass /URL1 balancer://mycluster1
<Proxy balancer://mycluster1>
BalancerMember http://1.2.3.4:8009/URL1 route=blue
BalancerMember http://1.2.3.5:8009/URL1 smax=10 route=red
# Less powerful server, don't send as many requests there
BalancerMember http://1.2.3.6:8009/URL1 smax=1 loadfactor=20 route=orange
</Proxy>
ProxyPass /URL2 balancer://mycluster2
<Proxy balancer://mycluster2>
BalancerMember http://1.2.3.4:80/URL2
route=blue
BalancerMember http://1.2.3.5:80/URL2 smax=10
route=red
# Less powerful server, don't send as many requests there
BalancerMember http://1.2.3.6:80/URL2 smax=1 loadfactor=20
route=orange
</Proxy>
If
mycluster1 goes via
route=red then
mycluster2 should go via the same "red" server
I use
route=red just for the example, but any other option could probably be used
is this supported by apache ghttpd 2.2.4
Thank you
Yavor