Forum Discussion
Rahul_Gupt_2401
Nimbostratus
Feb 19, 2018Problem with URL redirection
I want to do a URL redirection from https://abc.com/v2/ to https://abc.com/xyz/v2/. For this I below irule is not working. Could someone please help in identifying the issue and correct it
when ...
Lee_Sutcliffe
Nacreous
Feb 19, 2018You do not need a semicolon at the end of the redirect
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] ends_with "abc.com/v2/" } {
HTTP::redirect "https://abc.com/xyz/v2/"
}
}
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
