summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apache/mod_security/files/79_mod_security.conf')
-rw-r--r--www-apache/mod_security/files/79_mod_security.conf20
1 files changed, 14 insertions, 6 deletions
diff --git a/www-apache/mod_security/files/79_mod_security.conf b/www-apache/mod_security/files/79_mod_security.conf
index bd88e88a9771..8c7e128571ed 100644
--- a/www-apache/mod_security/files/79_mod_security.conf
+++ b/www-apache/mod_security/files/79_mod_security.conf
@@ -1,11 +1,19 @@
<IfDefine SECURITY>
LoadModule security2_module modules/mod_security2.so
- SecDataDir /var/lib/modsecurity
- # Enable looking up geolocation data from MaxMind's GeoIP database
- # SecGeoLookupDb /usr/share/GeoIP/GeoIP.dat
+ # These paths are Gentoo-specific, created by the ebuild.
+ SecDataDir /var/lib/modsecurity/data
+ SecTmpDir /var/lib/modsecurity/tmp
+ SecUploadDir /var/lib/modsecurity/upload
- # Define here your http:BL API key if any
- # see http://www.projecthoneypot.org/httpbl_api.php
- #SecHttpBlKey xxxxxxxx
+ # A copy of upstream's modsecurity.conf-recommended is installed
+ # along with the documentation for mod_security. It contains many
+ # recommended settings that you should evaluate for your system.
+ # The full documentation for the available settings can be found
+ # in the mod_security reference manual, at
+ #
+ # https://github.com/SpiderLabs/ModSecurity/wiki/Reference-Manual
+ #
+ # and in particular in the "Configuration Directives" setting.
+ #
</IfDefine>