Forum Discussion
Following iRule not working in my setup please correct mistake if found
Hello can somebody help me for below rule
when HTTP_REQUEST {
if {[string tolower [HTTP::host]] equals “abc.xyz.com”}{
if { ([string tolower [HTTP::uri]] starts_with "/media") or ([string tolower [HTTP::uri]] starts_with "/mediaupload") or ([string tolower [HTTP::uri]] starts_with "/webchat") or ([string tolower [HTTP::uri]] starts_with "/webtrak") }{
pool test1
} } elseif { [string tolower [HTTP::host]] equals “def.xyz.com” } { pool test2_pool } elseif { [string tolower [HTTP::host]] equals “ghi.xyz.com” } { pool test2_pool } elseif { [string tolower [HTTP::host]] equals “klm.xyz.com" } { pool test3_pool } elseif { [string tolower [HTTP::host]] equals “nop.xyz.com” } { pool test4_pool } elseif { [string tolower [HTTP::host]] equals “qrt.xyz.com” } { pool test5_pool } else { pool UAT_pool } }
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