Mikoto_Misaka_1
Mar 01, 2006Nimbostratus
the capital letter and the small letter
Hello,
I think that the operator "contains" distingushes the capital letter and the small letter.
Could you please tell me how to simply write iRule without distingushing the capital letter and the small letter ?
For example, I feel the following rule is not simple.
when HTTP_REQUEST {
if { [HTTP::uri] contains "/up/" or [HTTP::uri] contains "/Up/" or [HTTP::uri] contains "/uP/" } {
use pool pool_up
}
else {
use pool pool_others
}
}
We would like to use a conditional expression as follows.
Could you advice me ?
if { [HTTP::uri] contains "[uU][pP]" }
Mark