We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f210d29 commit 52963d4Copy full SHA for 52963d4
1 file changed
t/conf/extra.conf.in
@@ -1,4 +1,6 @@
1
2
+CoreDumpDirectory /tmp/
3
+
4
LoadModule security3_module "@ServerRoot@/.././src/.libs/apache_http_modsecurity.so"
5
6
<Location "/modsec-on">
@@ -10,3 +12,8 @@ LoadModule security3_module "@ServerRoot@/.././src/.libs/apache_http_modsecurity
10
12
modsecurity_rules 'SecRule ARGS "teste" "id:1,log,pass"'
11
13
</Location>
14
15
16
+<Location "/block-evil">
17
+ modsecurity On
18
+ modsecurity_rules 'SecRule ARGS "evil" "id:1,log,deny,status:403"'
19
+</Location>
0 commit comments