Forum Discussion
Kevin_Hickman_1
Nimbostratus
Aug 08, 2005Mixed case compares ?
What is the best syntax to compare uri's in a mixed case environment.
I want to use something along the lines of:
if (http_uri starts_with "/cccard/public/en/ApplyNow")
redirect to "https:/%h/%u"
Where the A in apply and N in now could be either upper or lower case.
Thanks.
- Colin_Walker_12Historic F5 AccountKphi,
- Kevin_Hickman_1
Nimbostratus
Currently 4.6.2, but we are trying to get to 4.6.4 - Colin_Walker_12Historic F5 AccountKphi,
rule WhateverCase { if (tolower(http_uri) ends_with "jpg") { use pool web } else { use pool web1 } }
- Kevin_Hickman_1
Nimbostratus
Exactly what I was looking for. Thanks.
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