1c14fcf232
web applications (or a web application firewall). Operating as an Apache Web server module or standalone, the purpose of ModSecurity is to increase web application security, protecting web applications from known and unknown attacks. This is the 2.x branch of modsecurity and only supports Apache 2.x
21 lines
760 B
Text
21 lines
760 B
Text
===========================================================================
|
|
$NetBSD: MESSAGE,v 1.1.1.1 2006/11/05 14:33:37 adrianp Exp $
|
|
|
|
In order to use this module in your Apache installation, you will need
|
|
to add the following to your httpd.conf file:
|
|
|
|
LoadModule security2_module lib/httpd/mod_security2.so
|
|
|
|
In addition to this you will need to specify mod_security configuration
|
|
directives in your httpd.conf. This can be achieved by adding the
|
|
following to your httpd.conf:
|
|
|
|
<IfModule mod_security2.c>
|
|
Include ${PKG_SYSCONFDIR}/httpd/modsecurity.conf
|
|
</IfModule>
|
|
|
|
Example configuration files for modsecurity are available:
|
|
|
|
${PREFIX}/share/examples/ap-security/
|
|
|
|
===========================================================================
|