Khanh_vo_213579
Apr 28, 2016Nimbostratus
iRule Not Sending Request to Correct Pool
I have an iRule:
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 } } }
which is suppose to send the requests to the specific pools but for some reason is only sending requests to the default pool. This is what gets logged:
Thu Apr 28 10:00:15 CDT 2016infotestloadbaltmm[10179] Rule /Common/ESBEndPoint : uri info: /webservice1 Thu Apr 28 10:00:17 CDT 2016infotestloadbaltmm[10179] Rule /Common/ESBEndPoint : uri info: /webservice1
Am I missing some configuration somewhere?