CMC OFF RULES for domain is not working anymore

These forums are not for questions about ModSecurity, just the cmc script itself
Post Reply
Sergio
Junior Member
Posts: 1685
Joined: 12 Dec 2006, 14:56

CMC OFF RULES for domain is not working anymore

Post by Sergio »

Hi,
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.
ForumAdmin
Moderator
Posts: 1523
Joined: 01 Oct 2008, 09:24

Re: CMC OFF RULES for domain is not working anymore

Post by ForumAdmin »

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.
MACscr
Junior Member
Posts: 46
Joined: 12 Jan 2007, 20:43

Re: CMC OFF RULES for domain is not working anymore

Post by MACscr »

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.
WEBPRO
Junior Member
Posts: 1
Joined: 28 Nov 2014, 00:15

Re: CMC OFF RULES for domain is not working anymore

Post by WEBPRO »

any solution on this

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

Re: CMC OFF RULES for domain is not working anymore

Post by Cont »

im also interested with the issue,do you still use cmc to control the rules well ?
Post Reply