CMC OFF RULES for domain is not working anymore

These forums are not for questions about ModSecurity, just the cmc script itself
5 posts Page 1 of 1
Junior Member
Posts: 1380
Joined: 12 Dec 2006, 14:56

I am seeing that since cPanel added the Mod_Security tools, the CMC option to set one domain with rules off is no longer working.

Is this an incompatibility?

Also, since cPanel added the Mod_Security option, the files ip.dir and ip.pag
are growing so huge that CMC now is showing the following error:
"collections_remove_stale: Failed deleting collection (name "ip", key "xx.xx.xx.xx"): Internal error".

This didn't happen before cPanel added the Mod_Security tool.

I created a cron to delete those files and when deleted the error disappears, until it grows again.
Posts: 1444
Joined: 01 Oct 2008, 09:24

That is to be expected. You should only use one or the other - cPanel's new UI feature, or the manual /usr/local/apache/config/modsec2.user.conf - not both.
Junior Member
Posts: 46
Joined: 12 Jan 2007, 20:43

Why not? They both simply just manage config files. I like cpanels mod_sec logging better and its vendor process and and autoupdating, but they have no user users management, which cmc is good for.
Junior Member
Posts: 1
Joined: 28 Nov 2014, 00:15

any solution on this

cpanel ui can not be disabled
rules exlusion does not work any more
Junior Member
Posts: 4
Joined: 14 Jan 2016, 09:35

im also interested with the issue,do you still use cmc to control the rules well ?
5 posts Page 1 of 1