Forum Discussion
jaikumar_f5
Jan 26, 2019MVP
Hi sandiksk,
try out the below, haven't tested. But you'll get the point on how to fix this....
when HTTP_REQUEST {
switch -glob [HTTP::header "SOAPAction"] {
"http://www.tech.com/CustomerWebsite/Details" -
"http://www.tech.com/CustomerWebsite/Points" {
if { [active_members prod_ro] > 0 } {
pool prod_ro
} else {
pool prod_pool
}
}
"http://www.tech.com/CustomerInquiry/Balances" {
if { [active_members copient_prod_ro] > 0 } {
pool copient_prod_ro
} else {
pool prod_pool
}
}
default { pool prod_pool }
}
}