Httpd error on directadmin with apache


We are seeing the following error:

Starting httpd: httpd: Syntax error on line 50 of /etc/httpd/conf/httpd.conf: Syntax error on line 3 of /etc/httpd/conf/extra/httpd-phpmodules.conf: Syntax error on line 32 of /etc/httpd/conf/extra/httpd-modsecurity.conf: Syntax error on line 1 of /etc/modsecurity.d/comodo_rules.conf.main: Syntax error on line 2 of /etc/cwaf/cwaf.conf: No matches for the wildcard ‘*.conf’ in ‘/usr/local/cwaf/etc/httpd/domains’, failing (use IncludeOptional if required)

If we open /etc/cwaf/cwaf.conf and uncomment the ‘/usr/local/cwaf/etc/httpd/domains’ line apache starts correctly.

Any idea why this error is happening?

Thanks in advance!


I just found a solution on the DA forum: cwaf update error rule set 1.109 | DirectAdmin Forums

But some information regarding this “bug” would be welcome

/usr/local/cwaf/etc/httpd/domains/00_blank.conf should exist by default.
We’ll find out this issue cause as soon as possible.