Forum Discussion
Stevie_112040
Nimbostratus
Jul 13, 2009Redirecting 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
3 Replies
- The_Bhattman
Nimbostratus
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" } } - Stevie_112040
Nimbostratus
Even if it's a https request? - Colin_Walker_12Historic F5 AccountThis 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
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
