21-Jun-2021 20:31
If I configure below IRule with ($ uri contains)(central is common) does this can cause the request for all three below to go to Pool1 only...
i can't see much by capturing , as the traffic comes from WAF and everything is encrypted...
elseif { $uri contains "central"} {
pool Pool1
}
elseif { $uri contains "devcentral"} {
pool Pool2
}
elseif { $uri contains "othercentral"} {
pool Pool3
22-Jun-2021 00:44
Hi,
As all three options contain the word "central", the first one would always be chosen, as it is the first one to be matched. Probably the easiest way to fix this is to put the "central" statement at the bottom of the elseif list.
Hope this helps.