Apache: Don't turn on modsec if it's available on default vhost
This commit is contained in:
parent
389d1c7395
commit
94118b2536
|
@ -60,6 +60,10 @@
|
||||||
</Location>
|
</Location>
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
|
<IfModule security2_module>
|
||||||
|
SecRuleEngine Off
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
<IfModule mod_ssl.c>
|
<IfModule mod_ssl.c>
|
||||||
|
@ -119,5 +123,9 @@
|
||||||
</Location>
|
</Location>
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
|
<IfModule security2_module>
|
||||||
|
SecRuleEngine Off
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
Loading…
Reference in a new issue