|
Lines 6-11
Link Here
|
| 6 |
LoadModule security2_module %%APACHEMODDIR%%/mod_security2.so |
6 |
LoadModule security2_module %%APACHEMODDIR%%/mod_security2.so |
| 7 |
Include etc/modsecurity/*.conf |
7 |
Include etc/modsecurity/*.conf |
| 8 |
|
8 |
|
|
|
9 |
ModSecurity has various configuration options. |
| 10 |
To change them, edit modsecurity/modsecurity.conf. |
| 11 |
|
| 9 |
Getting the Core Rule Set |
12 |
Getting the Core Rule Set |
| 10 |
------------------------- |
13 |
------------------------- |
| 11 |
|
14 |
|
|
Lines 21-26
Link Here
|
| 21 |
cp owasp-modsecurity-crs/modsecurity_crs_10_setup.conf.example \ |
24 |
cp owasp-modsecurity-crs/modsecurity_crs_10_setup.conf.example \ |
| 22 |
crs.conf |
25 |
crs.conf |
| 23 |
|
26 |
|
|
|
27 |
The CRS has various config options. To change them, edit crs.conf. |
| 28 |
|
| 24 |
To activate the CRS base rules, add the following to your httpd.conf: |
29 |
To activate the CRS base rules, add the following to your httpd.conf: |
| 25 |
|
30 |
|
| 26 |
Include etc/modsecurity/owasp-modsecurity-crs/base_rules/*.conf |
31 |
Include etc/modsecurity/owasp-modsecurity-crs/base_rules/*.conf |