I just installed mod_security through the Cpanel/plugins interface. The install was successful as far as I can tell.
I've noticed through searching around that the mod_security files seem to be in different locations on my server than they are when manually installing. Mine are in:
/usr/local/cpanel/modules-install/modsecurity-Linux-i686/
as opposed to
/usr/local/apache/conf/.
Also, there doesnt seem to be anything added to the httpd.conf.
As far I can tell, rules are supposed to be added to modsec.user.conf. While I dont have that file, I do have modsec.user.conf.default, so I assuming that I add the rules to that file.
Any of this making sense?
Any help with this is greatly appreciated.
Also, any good rule set suggestions for v1.9 would be interesting to see.
Thanks!
I've noticed through searching around that the mod_security files seem to be in different locations on my server than they are when manually installing. Mine are in:
/usr/local/cpanel/modules-install/modsecurity-Linux-i686/
as opposed to
/usr/local/apache/conf/.
Also, there doesnt seem to be anything added to the httpd.conf.
As far I can tell, rules are supposed to be added to modsec.user.conf. While I dont have that file, I do have modsec.user.conf.default, so I assuming that I add the rules to that file.
Any of this making sense?
Any help with this is greatly appreciated.
Also, any good rule set suggestions for v1.9 would be interesting to see.
Thanks!