Forum Discussion
kunjan_118660
Cumulonimbus
Isn'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 ?
JeffM
Oct 24, 2014Nimbostratus
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