I have just installed mod_security 2.8 from the Atomic repository on a CentOS 6.6 server running Plesk 11.5. I have restarted the web server so that mod_security is loaded. However, when I run the cwaf_client_install.sh installer, it cannot detect mod_security:
01-05-2015 19:11:07 Starting the installation
01-05-2015 19:11:08 ----------------Checking Apache-----------------------
01-05-2015 19:11:08 Found APACHE version 2.2.15
01-05-2015 19:11:08 Failed to aquire MODSECURITY version
01-05-2015 19:11:13 ---------------Checking LiteSpeed---------------------
01-05-2015 19:11:13 LiteSpeed binary /usr/local/lsws/bin/lshttpd not found!
01-05-2015 19:11:14 -----------------Checking Nginx-----------------------
01-05-2015 19:11:14 Found Nginx binary /usr/sbin/nginx
01-05-2015 19:11:14 Found Nginx version 1.5.0
01-05-2015 19:11:14 Mod Security NOT supported in this version of Nginx
01-05-2015 19:11:15 ------------------------------------------------------
mod_security is definitely loaded:
apachectl -M | grep security
Syntax OK
security2_module (shared)
What can we do to get this to work? I have reverted to using mod_security 2.7 from the EPEL repository in the meantime but this doesn’t support the most recent rulesets.
Thanks,
Chris