[Mod-security-rules] Redirect if REQ Method is PUT and Content Type is Word
Brought to you by:
victorhora,
zimmerletw
From: Maik L. <mai...@pr...> - 2020-06-10 09:07:02
|
Dear List, i have a rule: SecRule REQUEST_HEADERS:Content-Type "@contains application/msword" "chain,id:1,block,log,auditlog" SecRule REQUEST_METHOD "PUT" And i have a default Action: SecDefaultAction phase:1,status:302,redirect:/error.html,log,auditlog But the redirection never happens when i upload a word document. It is blocked but no redirection. The browser log says: PUT https://my.domain.com/error.html net::ERR_TOO_MANY_REDIRECTS jquery.js:8630 I tried douzens of things, it never redirects. Can someone please help. Thanks, With kind of regards, Maik ________________________________ .::provIT::. Maik Linnemann Brahmsstrasse 4a 48291 Telgte +49 177 3251429 mai...@pr... |