diff --git a/confs/modsecurity-clamav.conf b/confs/modsecurity-clamav.conf index 001f524..af96b0f 100644 --- a/confs/modsecurity-clamav.conf +++ b/confs/modsecurity-clamav.conf @@ -1,4 +1,4 @@ SecUploadDir /tmp -SecUploadKeepFiles Off +SecUploadKeepFiles On SecRule FILES_TMPNAMES "@inspectFile /opt/scripts/clamav.sh" \ "phase:2,t:none,deny,msg:'Virus found in uploaded file',id:'399999'"