Forum Discussion
Travis_47832
Nimbostratus
Oct 10, 2012Brand new to iRules and need help (redirect)
I have a request from the business to find a work around to an error they have. They printed and published on the web an incorrect URL. So instead of correct the publication they would like me to c...
What_Lies_Bene1
Cirrostratus
Oct 10, 2012This one from user nitass should do the trick;
when HTTP_REQUEST {
switch [string tolower [HTTP::path]] {
"/" -
"/srp/aap/home" {
HTTP::redirect "https://[HTTP::host]/srp/app/home"
}
}
}
}
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