cancel
Showing results for 
Search instead for 
Did you mean: 
Login & Join the DevCentral Connects Group to watch the Recorded LiveStream (May 12) on Basic iControl Security - show notes included.

redirect to another vs

kaoutar
Altocumulus
Altocumulus

Hellos folks,

 

Can anyone help me to create an iRule that redirect HTTP requests from one dirctory placed in one VS (X) to another VS(Y) which is responsible to respond to those requests

 

Thanks in advance

2 REPLIES 2

Hi kaoutar,

when HTTP_REQUEST { if { [string tolower [HTTP::uri]] starts_with "/example" } { virtual vs-name } }

https://clouddocs.f5.com/api/irules/virtual.html

 

Or you can use ltm policy.

thank you very much,

 

Now how to redirect the server responses as if they are originated from the first VS?