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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.