TecMint published a tutorial about protecting Apache against brute force or DDoS attacks using Mod_Security and Mod_evasive modules.
Protect Apache Against Brute Force or DDoS Attacks Using Mod_Security and Mod_evasive Modules
For those of you in the hosting business, or if you’re hosting your own servers and exposing them to the Internet, securing your systems against attackers must be a high priority.
Protect Apache Against Brute Force or DDoS Attacks Using Mod_Security and Mod_evasive Modules