Forum Discussion
Irule query
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
- AlexBCT
Cumulonimbus
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.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com