Forum Discussion
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