Forum Discussion
Matthew_Hutchin
Nimbostratus
Apr 08, 2018An iRule that uses a catch all for redirects?
Has anyone seen or done anything like this before?
when HTTP_REQUEST {
if {[HTTP::host] ne "abc.com"} {
HTTP::redirect "https://[HTTP::host][HTTP::uri]"
}
}
Can you even d...
Matthew_Hutchin
Nimbostratus
Apr 09, 2018Hi,
Thanks for replying to me. So they a URL "abc.com" and it matches - go to that but if it doesn't match just use what was entered and use that http://[HTTP::host][HTTP::uri]
I don't see another way to do it. Any help is greatly appreciated.
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