Forum Discussion
John_Ogle_45372
Jun 20, 2011Nimbostratus
Here is the current version:
when HTTP_REQUEST {
if { [class match [string tolower [HTTP::uri]] starts_with DMPS_URI_List] } {
pool DMPS_Stage_88
log local0.info "Match found for [HTTP::uri]"
}
else {
HTTP::redirect "https://apps.company.com/"
log local0.info "NO Match found for [HTTP::uri]"
}
}
class DMPS_URI_List {
{
"//bpptasks"
"//dpptasks"
"//jpptasks"
"//lpptasks"
"//mpptasks"
"//opptasks"
}
}