Forum Discussion
May 07, 2015
BIG-IP : irule class match with wildcards
F5 BIG-IP Virtual Edition v11.4.1 (Build 635.0) LTM on ESXi
Can [class match] be used to match its arg against a list of strings containing wildcards ?
[class match [string tolower [HTTP::...
Samir_Jha_52506
Noctilucent
May 07, 2015i do not think you need asterisk (*) in data group since you are using class match. Can you please try this.
whitelist data-group
"/default.html"
"/desert-dwellers/camel.html"
"/amphibians/platypus.html"
"/kids-favorites-1.html"
"/kids-favorites-2.html"
iRule
when HTTP_REQUEST {
if { [matchclass [HTTP::uri] starts_with whitelist] } {
HTTP::redirect "http://www.xyz.com"
}
}