update Sat Sep 12 12:37:01 PDT 2009
[pkgsrc.git] / wip / ap2-evasive / MESSAGE
1 ===========================================================================
2 $NetBSD$
3
4 mod_evasive has default options configured, but you may also add the
5 following block to your httpd.conf:
6
7 <IfModule mod_evasive20.c>
8     DOSHashTableSize    3097
9     DOSPageCount        2
10     DOSSiteCount        50
11     DOSPageInterval     1
12     DOSSiteInterval     1
13     DOSBlockingPeriod   10
14 </IfModule>
15
16 Optionally you can also add the following directives:
17
18     DOSEmailNotify      you@yourdomain.com
19     DOSSystemCommand    "su - someuser -c '/sbin/... %s ...'"
20     DOSLogDir           "/var/log/mod_evasive"
21
22 You will also need to add this line if you are building with dynamic support:
23
24 LoadModule evasive20_module modules/mod_evasive20.so
25
26 (This line is already added to your configuration by apxs)
27
28 ===========================================================================