Forum Discussion
Internet_Suppo1
Nimbostratus
Dec 23, 2015iRule for https redirect - redirects every URL back to homepage
I've setup an iRule to redirect https://www.aibgb.aibtest.ie to https://aibgb.aibtest.ie. The problem is that when I try to access https://www.aibgb.aibtest.ie/ibhelp it gets redirected to https://ai...
nathe
Cirrocumulus
Dec 23, 2015What about something like this:
when HTTP_REQUEST {
if {[string tolower [HTTP::host]] equals "www.aibgb.aibtest.ie" } {
HTTP::respond 301 Location "https://aibgb.aibtest.ie[HTTP::uri]"
}
}
See if this works for you.
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