CMC duplicating modsec2.user.conf within itself

Post Reply
skate323k137
Junior Member
Posts: 12
Joined: 11 Jun 2011, 22:36

CMC duplicating modsec2.user.conf within itself

Post by skate323k137 »

I've been running into an issue on several servers where CMC actually causes the contents of modsec2.user.conf to be duplicated within itself.

This is on up-to-date cPanel builds.

I tested this on a fresh server, by installing a basic rule set into modsec2.user.conf. As soon as I installed CMC and performed any actions in it, that file was duplicated within itself, causing duplicate rule IDs and subsequently breaking apache. I believe this happens when CMC goes to add its own includes line there for the whitelist file, but that could be unrelated to the bug itself.
ForumAdmin
Moderator
Posts: 1526
Joined: 01 Oct 2008, 09:24

Re: CMC duplicating modsec2.user.conf within itself

Post by ForumAdmin »

Thank you for reporting this. We've just released a new version that should fix this:
https://blog.configserver.com/
Post Reply