Forum Discussion
Heidi_35827
Nimbostratus
Nov 08, 2011iRule for HTTP redirect from retired URL to new URL
I'm new to iRules and could use some help. I think I have a pretty basic question but I'm not finding the answer after a few searches in DevCentral.
Here is what I'm trying to do....we ha...
nathe
Cirrocumulus
Nov 08, 2011Heidi
I take it your offloading the ssl transaction with a clientssl profile so the ltm can inspect the http traffic?
Here's an example of an irule I use for such things:
when HTTP_REQUEST {
if { [HTTP::host] equals "www.oldsite.com"} {
HTTP::redirect "www.newsite.com"
}
I'm also new to iruling but hoping to improve.
Hope it helps
N
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