Hello,
I am using apache as a load balancer and wanted to divert traffic to specific node. Want to achieve the below scenario please suggest here for apache 2.0 configuration context. How can we check below conditions in apache?
If referrer == app.yourdomain.com and the request ~ /rest:
Direct traffic to Node 1 or Node 2 or Node 3 //normal traffic
If referrer != app.yourdomain.com and the request ~ /rest:
If the page requested == /login.jsp:
Direct traffic to Node 1 or Node 2 or Node 3 //normal traffic
Else:
Direct to Node 4 //external REST API traffic
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.