How to use a Datagroup of URI Strings to compare and select pool based on HTTP :: Path
HI ,
I have a scenario , I am trying to use do pool selection by comparing the starts_with part of the http::path with consecutive URI included in a Datagroup .
More over , when i try to do the compare with http:uri starts_with , I am getting a tcl error with class match .
Error :
TCL error: /Common/xyz...-irule <HTTP_REQUEST> - bad action "match/a/b/x": must be match, search, lookup, element, type, exists, size, names, get, startsearch, nextelement, anymore, or donesearch while executing "class match[string tolower [HTTP::path]] equals "URI_datagroup""
My condition is the URI startswith /a/b/ is fixed whereas the next part of URI is a variable which can be x or y
I have to select the pool based on x or y prior to that /a/b is fixed