Commit c4751706 authored by ueli heuer's avatar ueli heuer

Update README.md

parent 3808c40f
......@@ -97,35 +97,34 @@ When apxs installs the module, the Apache server configuration file httpd.conf i
A conditional section for configuration of the module can be added to httpd.conf. An example is included below.
Note that mod_honeypot configuration directives should appear after the LoadModule request for the module.
\# ========================================================
\#
\# MOD_HONEYPOT CONTROL
\#
\# ========================================================
<IfModule honeypot_module>
# Project Honeypot access key
HP_AccessKey abcdefghijkl
# Check on HEAD, GET and OPTIONS requests
HP_Methods HEAD,GET,OPTIONS
# Rejection threshold (>=) for Project Honeypot threat level
HP_ThreatLevel 15
# Rejection age (<=) for Project Honeypot threat age
HP_ThreatAge 90
# PH visitor types to monitor
# 0x7 = Suspicious, Harvester, Comment Spammer
HP_VisitorType 0x7
# Enable/disable internal trace/debug info to log
HP_LogDebug 0x0000001A
</IfModule>
# ========================================================
#
# MOD_HONEYPOT CONTROL
#
# ========================================================
<IfModule honeypot_module>
# Project Honeypot access key
HP_AccessKey abcdefghijkl
# Check on HEAD, GET and OPTIONS requests
HP_Methods HEAD,GET,OPTIONS
# Rejection threshold (>=) for Project Honeypot threat level
HP_ThreatLevel 15
# Rejection age (<=) for Project Honeypot threat age
HP_ThreatAge 90
# PH visitor types to monitor
# 0x7 = Suspicious, Harvester, Comment Spammer
HP_VisitorType 0x7
# Enable/disable internal trace/debug info to log
HP_LogDebug 0x0000001A
</IfModule>
# 6.0 Configuration Directives
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment