cancel
Showing results for 
Search instead for 
Did you mean: 

Redirect to specific backend server based on request URL?

SOLVED
Highlighted
Contributor

Redirect to specific backend server based on request URL?

A question from a community member... I have a Stingray VA and currently all port 80 traffic is distributed to a number of backend apache servers.  I'd like to be able to control certain URL requests by specifying a backend server using rules.


Is this possible?

2 REPLIES
Frequent Contributor

Re: Redirect to specific backend server based on request URL?

It's certainly possible.

Step 1: Create a Pool that contains the nodes you want to direct traffic to. This pool may contain just one node, but it's more common to have two or more nodes for failover and load balancing;

Step 2: Create a RuleBuilder rule that matches the URLs you're interested in and selects the pool;

Step 3: Assign this rule as a 'Request Rule' to your virtual server.

Regards

Contributor

Re: Redirect to specific backend server based on request URL?

Great, thanks - worked like a charm