SecRuleEngine Off SecRequestBodyAccess On SecResponseBodyAccess Off #SecDebugLog /var/log/modsecurity/debug.log SecDebugLogLevel 0 SecAuditLogParts ABIJ SecAuditLogType Serial #SecAuditLog /var/log/modsecurity/audit.log # SQL Injection protection SecRule ARGS "(?i)(union(\s+all)?\s+select|select\s+.*\s+from|insert\s+into|update\s+.*\s+set|delete\s+from|drop\s+table|or\s+1=1|--|#|/\*|\*/|\bexec\b|\bexecute\b)" \ "id:950001,phase:2,deny,status:403,msg:'SQL Injection Attack Detected',log" # XSS / HTML Injection protection SecRule ARGS "(?i)(