Differences

This shows you the differences between two versions of the page.

Link to this comparison view

apache2:modsecurity2 [2016/05/09 10:42]
wadmin l
apache2:modsecurity2 [2016/05/09 10:58] (current)
wadmin [Configure]
Line 22: Line 22:
 ===== Configure ===== ===== Configure =====
  
 +<​file>​
 +cp /​etc/​modsecurity/​modsecurity.conf-recommended /​etc/​modsecurity/​modsecurity.conf
 +nano /​etc/​modsecurity/​modsecurity.conf
 +</​file>​
 +
 +At the bottom it should look something like the following:
 +
 +<​file>​
 +SecStatusEngine On
 +
 +Include /​usr/​local/​share/​modsecurity-crs/​*.conf
 +Include /​usr/​local/​share/​modsecurity-crs/​base_rules/​*.conf
 +Include /​usr/​local/​share/​modsecurity-crs/​optional_rules/​*.conf
 +</​file>​
/var/customers/webs/cw01/wiki/data/pages/apache2/modsecurity2.txt ยท Last modified: 2016/05/09 10:58 by wadmin
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki