Forum Discussion
Michael_-_Harr1
Nimbostratus
May 29, 2014REDIRECT IRULE need some help
I need help configuring a IRULE to redirect .com traffic to .org wether it is http or https
http:\mobilebank.com https:\www.mobilebank.org
https:\mobilebank.com https:\www.mobilebank.org
Cory_50405
Noctilucent
May 29, 2014This should work for you:
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] ends_with "mobilebank.com" } {
HTTP::redirect "https://www.mobilebank.org"
}
}
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