Forum Discussion
Roger_Grannum_7
Nimbostratus
Oct 05, 2009HTTPS Redirect
Searching the forum for a sample IRule but could not find anything. Hoping I might get some direction from the forum. I'm looking for an IRule that will re-direct https request. I understand I will ...
The_Bhattman
Nimbostratus
Oct 05, 2009If the LTM is carrying the cert and being applied by the SSL cleint profile then the F5 iRule should work since it's being decrypted.
NOTE: This is assuming the backend connection between the LTM and pool member is http
Here is an example of what the irule would look like
when HTTP_REQUEST {
if {[HTTP::host] eq "www.oldside.com" and [HTTP::uri] eq "/orders" } { HTTP::redirect "https://orders.newsite.com/page1" }
}
I hope this helps
CB
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