Forum Discussion
jaikumar_f5
Apr 05, 2018MVP
Yes you can go with that, but your pool member selection part may be wrong,
when HTTP_REQUEST {
if { ( [string tolower [HTTP::uri]] contains "/abc/123/" ) || ( [string tolower [HTTP::uri]] contains "/def/456/" ) } {
pool pool_abc member 1.1.1.1 80
log local.0 "URI contains condition matched, member 1.1.1.1 80 selected"
} else {
pool different_pool
log local.0 "URI contains condition NOT matched, different_pool selected"
}
}