5656 modsecurity on;
5757 modsecurity_rules '
5858 SecRuleEngine On
59+ SecDebugLogEngine RelevantOnly
5960 SecRule ARGS "@streq whee" "id:10,phase:2"
6061 SecRule ARGS "@streq whee" "id:11,phase:2"
6162 ';
6566 SecRule ARGS "@streq root" "id:21,phase:1,auditlog,status:302,redirect:http://www.modsecurity.org"
6667 SecDebugLog %%TESTDIR%%/auditlog-debug-root.txt
6768 SecDebugLogLevel 9
69+ SecAuditLogEngine On
6870 SecAuditLogParts AB
6971 SecAuditLog %%TESTDIR%%/auditlog-root.txt
7072 SecAuditLogType Serial
7880 SecDebugLog %%TESTDIR%%/auditlog-debug-subfolder1.txt
7981 SecDebugLogLevel 9
8082 SecAuditLogParts AB
83+ SecAuditLogEngine On
8184 SecAuditLog %%TESTDIR%%/auditlog-subfolder1.txt
8285 SecAuditLogType Serial
8386 SecAuditLogStorageDir %%TESTDIR%%/
8790 SecRule ARGS "@streq subfolder2" "id:41,phase:1,status:302,auditlog,redirect:http://www.modsecurity.org"
8891 SecDebugLog %%TESTDIR%%/auditlog-debug-subfolder2.txt
8992 SecDebugLogLevel 9
93+ SecAuditLogEngine On
9094 SecAuditLogParts AB
9195 SecAuditLog %%TESTDIR%%/auditlog-subfolder2.txt
9296 SecAuditLogType Serial
@@ -100,6 +104,7 @@ http {
100104 SecDebugLog %%TESTDIR%%/auditlog-debug-subfolder3.txt
101105 SecDebugLogLevel 9
102106 SecAuditLogParts AB
107+ SecAuditLogEngine On
103108 SecAuditLog %%TESTDIR%%/auditlog-subfolder3.txt
104109 SecAuditLogType Serial
105110 SecAuditLogStorageDir %%TESTDIR%%/
@@ -110,6 +115,7 @@ http {
110115 SecRule ARGS "@streq subfolder4withE" "id:2,phase:1,status:302,ctl:auditLogParts=+E,auditlog,redirect:http://www.modsecurity.org"
111116 SecDebugLog %%TESTDIR%%/auditlog-debug-subfolder4.txt
112117 SecDebugLogLevel 9
118+ SecAuditLogEngine On
113119 SecAuditLogParts AB
114120 SecAuditLog %%TESTDIR%%/auditlog-subfolder4.txt
115121 SecAuditLogType Serial
0 commit comments