Forum Discussion

Eddy_161863's avatar
Eddy_161863
Icon for Nimbostratus rankNimbostratus
Feb 02, 2016

Local Traffic Policy to redirect traffic based on uri.

Hi

 

We have a requirement to redirect the traffic to different pools based on uri path. Does anyone know if this can be done in one policy or do i have to define different policies for it?

 

for example,

 

if uri starts_with "/abc" go to abc pool

 

elseif starts with "/xyz" go to xyz pool and so on...

 

Is there a way we can define 'actions' based on the 'conditions' defined in the policy?

 

Thanks in advance for your help!

 

2 Replies

  • You must use only ONE policy with multiple rules...

     

    If you create two policies with control forwarding, you cannot assign both on the same virtual server.

     

    two policies assigned to the same VS cannot share control actions.