CMC duplicating modsec2.user.conf within itself

2 posts Page 1 of 1
Junior Member
Posts: 12
Joined: 11 Jun 2011, 22:36

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.
Posts: 1450
Joined: 01 Oct 2008, 09:24

Thank you for reporting this. We've just released a new version that should fix this:
2 posts Page 1 of 1