Install mod_security 2 on CentOS/RedHat

This is a translation from Spanish to English, but still the best guide I’ve used so far. Modified slightly to help others but could use more work.

Important: ModSecurity blocks lots of UNIX commands. I had to add dots to them. They are colored red so you know to change them.

This article assumes that you have installed a RedHat Enterprise or CentOS and not guaranteed to work, although we have tested on several CentOS 4.5 with success. Continue reading…