Hi, I want to set global configuration in mod sec.
I want to add this
## ModSecurity fixed global configuration
SecDataDir "/var/secdata"
## ModSecurity global configuration
SecAuditEngine "RelevantOnly"
SecConnEngine "On"
SecDisableBackendCompression "Off"
SecPcreMatchLimit "1500"
SecPcreMatchLimitRecursion "1500"
SecRuleEngine "Off"
where can I add it can you guide me?
i have this conf in httpd_config.conf
module mod_security {
modsecurity on
modsecurity_rules `
SecDebugLogLevel 0
SecAuditEngine on
SecAuditLogRelevantStatus "^(?:5|4(?!04))"
SecAuditLogParts AFH
SecAuditLogType Serial
SecRuleEngine On
`
ls_enabled 0
}