Forum Discussion

slesh_219299's avatar
Dec 16, 2016

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 }...
  • slesh_219299's avatar
    Dec 16, 2016

    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 } }