Forum Discussion
iRule with 2 different pool select
Hello guys I have a working vip with irule : when HTTP_REQUEST { if { [string tolower [HTTP::uri]] starts_with "/root/" } { pool pool_crm_test_8888 } else { pool pool_crm_test_https } }
And i need to add there something like if starts_with "/root2/" traffic will be redirected to pool_crm_test_9999
Can someone help me with this i tried couple things but ... it didnt work :(
Ok this seems to be working :)
when HTTP_REQUEST { if { [string tolower [HTTP::uri]] starts_with "/isvroot/" } { pool pool_crm_test_8888 } elseif { [string tolower [HTTP::uri]] starts_with "/isvroot2/" } { pool pool_crm_test_9999 } else { pool pool_crm_test_https } }
- slesh_219299Cirrus
Ok this seems to be working :)
when HTTP_REQUEST { if { [string tolower [HTTP::uri]] starts_with "/isvroot/" } { pool pool_crm_test_8888 } elseif { [string tolower [HTTP::uri]] starts_with "/isvroot2/" } { pool pool_crm_test_9999 } else { pool pool_crm_test_https } }
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