Forum Discussion
samstep
Dec 02, 2015Cirrocumulus
If you need to disable POST globally (e.g. you have a virtual server only serving static content) then one way of doing this is via an iRule.
when HTTP_REQUEST {
if {[HTTP::method] eq "POST"} {
reject
}
}
In ASM policy you can stop POST going through by setting the POST data length to 0 on the File Type and enabling blocking on "Illegal POST data length" violation.
Hope this helps,
Sam