Forum Discussion
Kevin_Stewart
Jul 16, 2014Employee
Try this:
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"/app01/cDownload.aspx*" -
"/app02*" -
"/app03*" -
"/app04*" {
HTTP::disable
}
}
}
You can also add all of these URLs into a string-based data group:
when HTTP_REQUEST {
if { [class match [string tolower [HTTP::uri]] contains my-uri-dg] } {
HTTP::disable
}
}