-
1. Re: ProxyPass statements with specific ports don't seem to work
nigord Feb 12, 2015 7:56 PM (in response to witchbutter)Hello Paul,
The port should be applied to the balencer member, not the balancer group.
Please see the following, exemple:
<Proxy balancer://groupofajpserver>
BalancerMember ajp://server1:8009 route=server1 disablereuse=on ttl=600 max=50
ProxySet stickysession=ROUTEID
</Proxy>
<Proxy balancer://groupofhttpserver>
BalancerMember http://server1:8081 route=server1 disablereuse=on ttl=600 max=50
ProxySet stickysession=ROUTEID
</Proxy>
#If doing it in AJP -- Make sur you enable the ajp connector.
ProxyPass /superapp balancer://groupofajpserver/superapp
ProxyPassReverse /superapp balancer://groupofajpserver/superapp
#If in HTTP
ProxyPass /superapp balancer://groupofhttpserver/superapp
ProxyPassReverse /superapp balancer://groupofhttpserver/superapp
Thanks,
Maxime