Forum Discussion
JeffM
Nimbostratus
Oct 24, 2014Having issue with multiple if statements for irule
What I am trying to do is have / and specific data group list URIs going to pool B and the rest of the traffic going to pool A. Issue is that when a URI contains part of an entry in the data group l...
kunjan
Nimbostratus
Oct 24, 2014Isn't it working as expected?
class match[string tolower[HTTP::uri]]starts_with dgl_aem.domain.com]
which is
class match "/test/documents" starts_with "/test"
Should use "equals" instead, for your logic to work ?
- JeffMOct 24, 2014
Nimbostratus
What I am looking for is an irule that can route: if /A/docs, /B/docs, or /C/docs use pool1. Then, if not those URIs but is / or contained in the data group list (dgl_aem.domain.com) use pool2. else use pool1. So, if the URI /A/testsite is used and /A is definded in the data group list it will use the pool2, but if /A/docs is used it will goto pool1. Right now with my iRule /A/testsite and /A/docs all goto pool2
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects