Forum Discussion
hooleylist
Jun 20, 2011Cirrostratus
Can you update the class so it's like this:
class DMPS_URI_List {
{
"/bpptasks"
"/dpptasks"
"/jpptasks"
"/lpptasks"
"/mpptasks"
"/opptasks"
}
}
And then use the logging in this iRule to test:
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] in [class get DMPS_URI_List]"
} else {
HTTP::redirect "https://apps.company.com/"
log local0.info "NO Match found for [HTTP::uri] in [class get DMPS_URI_List]"
}
}
And post the debug logging from /var/log/ltm for a few requests which fail?
Aaron