Forum Discussion
Thiyagu_163984
Jun 05, 2017Nimbostratus
Thanks Stanislas for your reply. I'm good with the script if I'm trying to match only a single variable.
Could you please help me to know how I can match multiple variables?
For example if I have to match 10 variables, Do I need use 10 "if else" to match one after the another parameter? Or is there a way to match multiple variable in single if statement like below?
likely the condition match xx or yy or zz then forward it to pool XX
if {[string tolower [URI::query [HTTP::uri] "RH"]] equals "xx" or equals YY or equlas ZZ} { pool POOLX } Does the above script syntax will work?
Thanks a lot in advance for your help.
Regards, Thiyagu