Apache: Don't turn on modsec if it's available on default vhost

This commit is contained in:
Ludovic Poujol 2018-03-12 11:00:53 +01:00
parent 389d1c7395
commit 94118b2536
1 changed files with 8 additions and 0 deletions

View File

@ -60,6 +60,10 @@
</Location>
</IfModule>
<IfModule security2_module>
SecRuleEngine Off
</IfModule>
</VirtualHost>
<IfModule mod_ssl.c>
@ -119,5 +123,9 @@
</Location>
</IfModule>
<IfModule security2_module>
SecRuleEngine Off
</IfModule>
</VirtualHost>
</IfModule>