Forum Discussion
Jonathan_Scholi
Cirrostratus
Oct 28, 2010String map and redirect
I need to perform a redirect that changes a URI from this format:
mysite.com/it/folder/files/FILESANDFILES
to:
mysite.com/it/folder/files/filesANDfiles
In oth...
Jonathan_Scholi
Cirrostratus
Oct 29, 2010Solved:
when HTTP_REQUEST { if { [string tolower [HTTP::path]] starts_with "/it/folder/files" and [HTTP::uri] contains "folder=FILESANDFILES"} { HTTP::redirect [string map {"folder=FILESANDFILES" "folder=filesANDfiles"} [HTTP::uri]] } }
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
