Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Followings are the example of a balancer configuratoinconfiguration:

Code Block
<Proxy "balancer://mycluster">
    BalancerMember "http://192.168.1.50:80"
    BalancerMember "http://192.168.1.51:80"
</Proxy>
ProxyPass        "/test" "balancer://mycluster"
ProxyPassReverse "/test" "balancer://mycluster"


Followings are another example of balancer configuration:

Code Block
<Proxy balancer://mycluster>
    # WAS1
    BalancerMember http://192.168.10.7:80 route=1 connectiontimeout=1

    # WAS2
    BalancerMember http://192.168.10.8:80 route=2 connectiontimeout=1

    ProxySet lbmethod=byrequests
    ProxySet stickysession=ROUTEID
</Proxy>