Forum Discussion
Cody_Conklin_17
Nimbostratus
Aug 11, 2005iRule variable match is case sensitive
I have an iRule that behaves normally:
if (http_uri starts_with "/authentication") {
use pool IIS_Pool_80
}
else if (http_uri starts_with "/certapp") {
use pool IIS...
Aug 11, 2005
Are you sure it is case insensitive or is it just allowing everything in. I'll have to check with the iRules 4.x implementation of starts_with but I believe that the logical "or" operators are not working the way you think.
I believe that your rule is equating to:
if ( (http_uri starts_with "/authentication") or ("/certapp") or ("/lms") ) {
use pool IIS_Pool_80
}
else {
use pool beta.xyz.com
}And that the
or ("/certapp")is always evaluating to true.
Have you verified that uri's without your strings are falling through to the beta.xyz.com pool?
If it is really working, then that's an extension of the "starts_with" operator that I haven't seen before and didn't know existed.
-Joe
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
