Jinshu
Dec 14, 2015Cirrus
ASM to block a specific URI
Hi All,
I have to configure ASM to block a specific URI
/web-admin/admin/
. Can anyone help with this please. I have configured it as disallowed url, no luck. Even I have created an irule and applied it, same result.
any idea?
The irule which I have created look like below.
when HTTP_REQUEST {
set reqBlock 0
if { ([HTTP::uri] contains "/web-admin/admin")} {
set reqBlock 1
}
}
when ASM_REQUEST_DONE {
if { $reqBlock == 1} {
ASM::raise FLOW_TO_OBJ
}
}
-Jinshu