Forum Discussion
javier_diaz_379
Mar 03, 2011Nimbostratus
URL to lower string
I need to know, how to make an iRule to translate the complete URL to lower string and then do the redirect.
I have the idea of how to make that happend, but this irule is not working. ...
javier_diaz_379
Mar 03, 2011Nimbostratus
Great, it works!
It will be a great idea to setup this to work with parameters.
Just to be sure, the way to do it is this?
when HTTP_REQUEST {
Check if the URI has any capitalized letters
if {[string match {*[A-Z]*} [HTTP::uri]]}{
HTTP::redirect "http://[HTTP::host][string tolower [HTTP::path]]?[HTTP::query]"
}
}
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