i'm in trouble with setting Apache
I want to set loadbalancer in "/" root path and ways to specific WAS
WAS1 -> localhost:18080
WAS2 -> localhost:28080
and if I type like this "http://../route1 " => need to connect WAS1
http://../route1 => WAS 1 (localhost:18080)
http://../route2 => WAS 2 (localhost:28080)
<VirtualHost *:80>ServerName localhostProxyRequests OffProxyPreserveHost On<Location /balancer-manager> SetHandler balancer-manager #Require ip 10.0.0.1 10.0.0.2</Location>ProxyPass /balancer-manager !<Location /route1>ProxyPass "http://localhost:18080"ProxyPassReverse "http://localhost:18080"</Location>ProxyPass /route1 !<Location /route2>ProxyPass "http://localhost:28080"ProxyPassReverse "http://localhost:28080"</Location>ProxyPass /route2 !<Proxy "balancer://bal"> BalancerMember "http://localhost:18080" BalancerMember "http://localhost:28080"</Proxy>ProxyPass "/" "balancer://bal/"ProxyPassReverse "/" "balancer://bal/"</VirtualHost>
httpd.conf is above.
now status
loadbalacing is working
/balance-manager is working
/route1 and /route2 is not working
Thank you