Redirecting only a subset of my VS web site

Hi!

I need to redirect https requests to one directory of my VS (example : https://www.nestor.com/tintin) to a web site (example : http://www.haddock.com/milou/dupond).

I am not familiar with irules…

Thanks,

Strou16

Here is an example.

when HTTP_REQUEST{  
   if { ([HTTP::host] eq"www.nestor.com") and ([HTTP::host] eq"/tintin") } {  
   HTTP::redirect "http://www.haddock.com/milou/dupond"  
   }  
 }

Even if it’s a https request?

This will work on https requests so long as you’re decrypting the SSL on your BIG-IP. Otherwise you won’t be able to inspect the headers to see what the host of the request is.

Colin