I want to create a rule that blocks all http requests (get,post,put, literally all of them) and only allow certain ones that I specify. Specifically, Get, Put and Post. I am running ModSecurity V3.
If there is a rule that can do something like this, if someone wouldn't mind sharing the syntax, I would greatly appreciate it.
Note: Currently I am getting a 403 (Forbidden) response when I attempt to request for a POST/PUT. Not sure why this is.
Thanks!