MAbbas
Sep 01, 2018Cirrus
Irule Match
hello -
i have been trying to understand the condition match that happens in irules
in the example below -- if the URI -is /foobar
would it not match the first case and exit - Thanks
switch -glob [...
switch -glob [HTTP::uri] { "/foo*" { this will match on any string that starts with "/foo" }
"bar" { this will match on any string that ends with "bar" }
"/foobar[a-zA-Z]" { This will match with any string that starts with "/foobar" followed by any case character from a-z. }
"/foo?bar" { this will match any string that starts with "/foo", followed by any character, and followed by and ending with "bar". } }