Forum Discussion
JeffRay_129268
Nimbostratus
Nov 19, 2015uri redirect
Hi Dears, will really appreciate your support in this.
I want to redirect a keyword and let the whole uri / URL remain as it is. for example keyword superb when found anywhere in uri then it should...
Brad_Parker
Cirrus
Nov 19, 2015Give this a whirl:
when HTTP_REQUEST {
if { [string tolower [HTTP::path]] contains "/superb/"}{
HTTP::respond 302 noserver Location "https://[HTTP::host][string map -nocase {superb wonderful} [HTTP::path]]"
}
}
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