Forum Discussion
Following iRule not working in my setup please correct mistake if found
i applied below rule..
hen HTTP_REQUEST {
if {[string tolower [HTTP::host]] equals "mfcomb.test.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 Talisma_MF_Webchat
} elseif { [string tolower [HTTP::host]] equals "abibluat.test.com" } {
pool abibluat_pool } elseif { [string tolower [HTTP::host]] equals "abfluat.test.com" } { pool abfluat_pool } elseif { [string tolower [HTTP::host]] equals "pmsuat.test.com" } { pool PMSUAT } elseif { [string tolower [HTTP::host]] equals "peuat.test.com" } { pool peuat_pool } elseif { [string tolower [HTTP::host]] equals "uat.test.com" } { pool UAT_test } else { pool UAT_pool } }
now i want to if request is comes for any other url then it will redirect towards to defined pool
so i have configured below rule
the uri start with media... web track is working but below that if request is come for any uri then it it not redirecting to defined 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