Comodo WAF Unable to detect ModSecurity Conf File Location

Comodo WAF seems unable to detect my server’s ModSecurity Conf File Location.

This is what I got in the install script:
13-07-2016 10:58:01 Copy Comodo WAF Mod_security configuration to Apache HTTPD directory
13-07-2016 10:58:01 ‘etc/modsec2_webmin.conf’ → ‘/etc/httpd/conf.d/zzzz_cwaf_security2.conf’
13-07-2016 10:58:01 cp: cannot create regular file ‘/etc/httpd/conf.d/zzzz_cwaf_security2.conf’: No such file or directory

The location of my ModSecurity Conf File should be in /opt/bitnami/apache2/conf/modsecurity.conf (I installed Apache 2 and ModSecurity using Bitnami LAMP Stack)

I tried to copying the content of modsec2_webmin.conf to my ModSecurity Conf file, however, the Webmin Module do not work. It keeps finding the conf file located at /etc/httpd/conf.d/zzzz_cwaf_security2.conf, which does not exist.

Any solutions?

You can try to create symlinks at /etc.
Please let us know is this way solves the issue?

No, it’s not working. Comodo WAF is still trying to search an non exist ModSecurity Conf File “zzzz_cwaf_security2.conf”

Could you send us installation log-files from /tmp ?

Log sent to you in PM.

I saw it, thanks. Please, try to create /etc/httpd/conf.d/ directory. zzzz_cwaf_security2.conf will be copied there, but you don’t need to include it to apache config.
You can just include /usr/local/cwaf/etc/cwaf.conf in ModSecurity configuration and use zzzz_cwaf_security2.conf as an example. Also I found Modsecurity v. 2.6.7. you use on your server(s).
There will be a problem with our rules. We support ModSecurity 2.7.5 and higher.