Forum Discussion
Shripaty
Cirrus
Thanks , for the hint , but still i am not able to match the consecutive http path with the URI listed in the datagroup
I am trying to match
when HTTP_REQUEST {
if { ([string tolower [HTTP::uri]] starts_with "/a/b") and ([class match [string tolower [HTTP::path]] eq x_URI_list) } {
pool x_pool
}elseif {([string tolower [HTTP::uri]] starts_with "/a/b") and ([class match [string tolower [HTTP::path]] eq y_uri_list]) } {
pool y_pool
}else {
reject
}
}
}
Dec 26, 2019
Does the datagroup strings contain "/a/b"?