Given a balancer which currently proxies all requests:
<Proxy balancer://java-app> ProxySet lbmethod=bybusyness BalancerMember https://java1:8443 route=java-app1 BalancerMember https://java2:8443 route=java-app1 </Proxy> ProxyPass / balancer://java-app/ stickysession=JSESSIONID|jsessionid scolonpathdelim=On
I need to modify it so that: When the query string contains parameter p1 Then It should proxy to the balancer Otherwise it should not proxy
mod-proxy cannot be used for this use case. We need to use mod-rewrite bu I can't figure how to achieve this goal effectively.
Thanks in advance, - Nestor