Added two features to mod_evasive
I found that the default error code (403) was not appropriate in all situations.
Neither was the error logging, which can cause huge error logs on systems where evasive was purposely meant to limit connection speeds.
Attached is a copy of mod_evasive.c that introduces :
evasive.enable-logging => false by default, set true to enable logging.
evasive.error-code => any number between 100 (lowest HTTP code) and 505 (highest)
Also available in: Atom