Forum Discussion
TMcGov_92811
Nimbostratus
Mar 03, 2009case insensitivity in 4.x IRule
My 9.4 iRule is as such and works great:
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] contains "myone/rf"} {
pool http-services.abc.com-zuma
}
el...
hoolio
Cirrostratus
Mar 06, 2009In 4.6 or so, the tolower function was added. If you are on 4.6+ you can use that. Else, you can use matches_regex and add both the upper and lowercase versions of each letter. You can check this post for examples (Click here)
Aaron
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