I recently purchased the Config Server modsecurity service, however I am having an issue when I try disable modsecurity for a particular domain or disable a particular rule.
I get the error message of this picture - Removed -
and the rules are never disabled, so the only option I have when a problem with a modsecurity rule
appears is to disable mod security completely.
I asked Configserver support and they sent me the following response.
What do you think?

I get the error message of this picture - Removed -
and the rules are never disabled, so the only option I have when a problem with a modsecurity rule
appears is to disable mod security completely.
I asked Configserver support and they sent me the following response.
What do you think?
>>>>>>>>>>>>>
That is an issue with either cPanel or CloudLinux as all that cmc does is run:
/scripts/buildhttpdconf
It is that cPanel provided script that is creating the include of /usr/local/apache/conf/conf.d/*.conf for some reason. You would have to seek support from cPanel as to why that script is doing that.
As a workaround you could create the directory using:
mkdir -p /usr/local/apache/conf/conf.d/
Then create an empty file called something.conf within that directory, to get around the error, but the cause should really be investigated. That is not something that we can help with.

Last edited by a moderator: