Forum Discussion
R_Marc
Nov 05, 2015Nimbostratus
There are a few ways to do this. The easiest way is with a case statement:
when HTTP_REQUEST {
switch -glob [HTTP::uri] {
"/clocks.asp*" {
do stuff
}
"/mysite.aspx*" {
do other stuff
}
default {
non-special case stuff
}
}
}
If this is something that would grow and be a long standing need for additions, I would advocate something slightly different (utilizing data groups).