Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

redirect to another vs

kaoutar
Cirrus
Cirrus

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?