65
65
SecRule ARGS "@streq root" "id:21,phase:1,auditlog,status:302,redirect:http://www.modsecurity.org"
66
66
SecDebugLog %%TESTDIR%%/auditlog-debug-root.txt
67
67
SecDebugLogLevel 9
68
- SecAuditEngine On
68
+ SecAuditEngine RelevantOnly
69
69
SecAuditLogParts AB
70
70
SecAuditLog %%TESTDIR%%/auditlog-root.txt
71
71
SecAuditLogType Serial
@@ -76,9 +76,10 @@ http {
76
76
location /subfolder1/subfolder2 {
77
77
modsecurity_rules '
78
78
SecRule ARGS "@streq subfolder2" "id:41,phase:1,status:302,auditlog,redirect:http://www.modsecurity.org"
79
+ SecRule ARGS "@streq subfolder1" "id:42,phase:1,status:302,auditlog,redirect:http://www.modsecurity.org"
79
80
SecDebugLog %%TESTDIR%%/auditlog-debug-subfolder2.txt
80
81
SecDebugLogLevel 9
81
- SecAuditEngine On
82
+ SecAuditEngine RelevantOnly
82
83
SecAuditLogParts AB
83
84
SecResponseBodyAccess On
84
85
SecAuditLog %%TESTDIR%%/auditlog-subfolder2.txt
93
94
SecDebugLog %%TESTDIR%%/auditlog-debug-subfolder1.txt
94
95
SecDebugLogLevel 9
95
96
SecAuditLogParts AB
96
- SecAuditEngine On
97
+ SecAuditEngine RelevantOnly
97
98
SecAuditLog %%TESTDIR%%/auditlog-subfolder1.txt
98
99
SecAuditLogType Serial
99
100
SecAuditLogStorageDir %%TESTDIR%%/
@@ -104,10 +105,11 @@ http {
104
105
modsecurity_rules '
105
106
SecResponseBodyAccess On
106
107
SecRule ARGS "@streq subfolder4" "id:61,phase:1,status:302,auditlog,redirect:http://www.modsecurity.org"
107
- SecRule ARGS "@streq subfolder4withE" "id:2,phase:1,ctl:auditLogParts=+E,auditlog"
108
+ SecRule ARGS "@streq subfolder3" "id:62,phase:1,status:302,auditlog,redirect:http://www.modsecurity.org"
109
+ SecRule ARGS "@streq subfolder4withE" "id:63,phase:1,ctl:auditLogParts=+E,auditlog"
108
110
SecDebugLog %%TESTDIR%%/auditlog-debug-subfolder4.txt
109
111
SecDebugLogLevel 9
110
- SecAuditEngine On
112
+ SecAuditEngine RelevantOnly
111
113
SecAuditLogParts AB
112
114
SecAuditLog %%TESTDIR%%/auditlog-subfolder4.txt
113
115
SecAuditLogType Serial
@@ -121,7 +123,7 @@ http {
121
123
SecDebugLog %%TESTDIR%%/auditlog-debug-subfolder3.txt
122
124
SecDebugLogLevel 9
123
125
SecAuditLogParts AB
124
- SecAuditEngine On
126
+ SecAuditEngine RelevantOnly
125
127
SecAuditLog %%TESTDIR%%/auditlog-subfolder3.txt
126
128
SecAuditLogType Serial
127
129
SecAuditLogStorageDir %%TESTDIR%%/
0 commit comments