Skip to content

Commit 8d37daa

Browse files
authored
Merge pull request #2271 from Vincevrp/duplicate-secdefaultaction
Remove duplicate SecDefaultAction in CRS template
2 parents fd2360d + 1d52122 commit 8d37daa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/mod/security_crs.conf.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@
9393
# - In Apache, you can use ErrorDocument to show a friendly error page or
9494
# perform a redirect: https://httpd.apache.org/docs/2.4/custom-error.html
9595
#
96-
SecDefaultAction "phase:1,log,auditlog,pass"
97-
SecDefaultAction "phase:2,log,auditlog,pass"
96+
# SecDefaultAction "phase:1,log,auditlog,pass"
97+
# SecDefaultAction "phase:2,log,auditlog,pass"
9898

9999
# Example: Anomaly Scoring mode, log only to ModSecurity audit log
100100
# - By default, offending requests are blocked with an error 403 response.

0 commit comments

Comments
 (0)