Protect Apache Against Brute Force or DDoS Attacks Using Mod_Security and Mod_evasive Modules

mod_security (an open source intrusion detection and prevention engine for web applications that integrates seamlessly with the web server) and mod_evasive are two very important tools that can be used to protect a web server against brute force or (D)DoS attacks.