Skip to content

Commit 52963d4

Browse files
author
Felipe Zimmerle
committed
Place the tests to generate core dumps
1 parent f210d29 commit 52963d4

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

t/conf/extra.conf.in

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11

2+
CoreDumpDirectory /tmp/
3+
24
LoadModule security3_module "@ServerRoot@/.././src/.libs/apache_http_modsecurity.so"
35

46
<Location "/modsec-on">
@@ -10,3 +12,8 @@ LoadModule security3_module "@ServerRoot@/.././src/.libs/apache_http_modsecurity
1012
modsecurity_rules 'SecRule ARGS "teste" "id:1,log,pass"'
1113
</Location>
1214

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

Comments
 (0)