Cpanel PLugin Error 1.7

After update cpanel plugin to 1.7, when i was turning off one rule on a website, i got an error i didn’t understand.

I went to shell and tried to reboot apache, got this:
httpd: Syntax error on line 41 of /usr/local/apache/conf/httpd.conf: Syntax error on line 19 of /usr/local/apache/conf/modsec2.conf: Syntax error on line 1 of /var/cpanel/cwaf/etc/cwaf.conf: No matches for the wildcard ‘*.conf’ in ‘/var/cpanel/cwaf/etc/httpd/domains’, failing (use IncludeOptional if required)

Hi, xanubi!

It seems that *.conf files disappeared from /var/cpanel/cwaf/etc/httpd/domains/ directory.
To fix enter this command in shell prompt:

echo “#” > /var/cpanel/cwaf/etc/httpd/domains/00_blank.conf

And restart Apache. We’ll check and fix this issue in the next release. Also, please, show us the /var/cpanel/cwaf/etc/httpd/domains/ directory content.

ls -la /var/cpanel/cwaf/etc/httpd/domains/ directory


This issue appears on client 1.7 if you cPanel contain hosts with both HTTP/HTTPS enabled (f.e.,|443).
We’re developed Perl fix-script, attached to this message.
Please, run this script once to fix exclude cache for these domains.

[attachment deleted by admin]