56
56
modsecurity on;
57
57
modsecurity_rules '
58
58
SecRuleEngine On
59
+ SecDebugLogEngine RelevantOnly
59
60
SecRule ARGS "@streq whee" "id:10,phase:2"
60
61
SecRule ARGS "@streq whee" "id:11,phase:2"
61
62
';
65
66
SecRule ARGS "@streq root" "id:21,phase:1,auditlog,status:302,redirect:http://www.modsecurity.org"
66
67
SecDebugLog %%TESTDIR%%/auditlog-debug-root.txt
67
68
SecDebugLogLevel 9
69
+ SecAuditLogEngine On
68
70
SecAuditLogParts AB
69
71
SecAuditLog %%TESTDIR%%/auditlog-root.txt
70
72
SecAuditLogType Serial
78
80
SecDebugLog %%TESTDIR%%/auditlog-debug-subfolder1.txt
79
81
SecDebugLogLevel 9
80
82
SecAuditLogParts AB
83
+ SecAuditLogEngine On
81
84
SecAuditLog %%TESTDIR%%/auditlog-subfolder1.txt
82
85
SecAuditLogType Serial
83
86
SecAuditLogStorageDir %%TESTDIR%%/
87
90
SecRule ARGS "@streq subfolder2" "id:41,phase:1,status:302,auditlog,redirect:http://www.modsecurity.org"
88
91
SecDebugLog %%TESTDIR%%/auditlog-debug-subfolder2.txt
89
92
SecDebugLogLevel 9
93
+ SecAuditLogEngine On
90
94
SecAuditLogParts AB
91
95
SecAuditLog %%TESTDIR%%/auditlog-subfolder2.txt
92
96
SecAuditLogType Serial
@@ -100,6 +104,7 @@ http {
100
104
SecDebugLog %%TESTDIR%%/auditlog-debug-subfolder3.txt
101
105
SecDebugLogLevel 9
102
106
SecAuditLogParts AB
107
+ SecAuditLogEngine On
103
108
SecAuditLog %%TESTDIR%%/auditlog-subfolder3.txt
104
109
SecAuditLogType Serial
105
110
SecAuditLogStorageDir %%TESTDIR%%/
@@ -110,6 +115,7 @@ http {
110
115
SecRule ARGS "@streq subfolder4withE" "id:2,phase:1,status:302,ctl:auditLogParts=+E,auditlog,redirect:http://www.modsecurity.org"
111
116
SecDebugLog %%TESTDIR%%/auditlog-debug-subfolder4.txt
112
117
SecDebugLogLevel 9
118
+ SecAuditLogEngine On
113
119
SecAuditLogParts AB
114
120
SecAuditLog %%TESTDIR%%/auditlog-subfolder4.txt
115
121
SecAuditLogType Serial
0 commit comments