Forum Discussion
Irule to match a URI and defined RH parameter has certain defined variable
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
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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