Forum Discussion
Stanislas_Piro2
Apr 28, 2016Cumulonimbus
Hi,
I don't see any error in the irule.
you can try to log selected pool after switch:
when HTTP_REQUEST {
log local0. "uri info: [HTTP::uri]"
switch -glob [string tolower [HTTP::uri]] {
"/webservice1*" { pool ws_pool1 }
"/webservice2" { pool ws_pool2 }
default { pool ws_pool3 }
log local0. "pool info: [LB::server pool]"
}
}