1 ## Begin - Generated by CARNET package mod-security-cn
3 # REMOVE this whole block if you DON'T WANT mod-security-cn
4 # to edit your configuration file.
6 ## End - Generated by CARNET package mod-security-cn
8 <IfModule security2_module>
10 # Basic configuration options
13 SecRequestBodyAccess On
14 SecResponseBodyAccess Off
16 # Handling of file uploads
18 SecUploadKeepFiles Off
22 SecDebugLog /var/log/apache2/modsec_debug.log
27 SecAuditEngine RelevantOnly
28 SecAuditLogRelevantStatus ^5
29 SecAuditLogParts ABIFHZ
30 SecAuditLogType Serial
31 SecAuditLog /var/log/apache2/modsec_audit.log
33 # Maximum request body size we will
34 # accept for buffering
36 SecRequestBodyLimit 134217728
38 # Store up to 128 KB in memory
40 SecRequestBodyInMemoryLimit 131072
42 # Buffer response bodies of up to
45 SecResponseBodyLimit 524288
47 # Disable Status Reporting functionality
51 # RBL lookup configuration