Hello,
Apache can not start and I get this error:
Enabling httpd in systemd...
httpd: Syntax error on line 50 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 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: Syntax error on line 1 of /usr/local/cwaf/rules/rules.conf.main: Could not open configuration file /etc/httpd/00_Init_Initialization.conf: No such file or directory
Checking to ensure /etc/httpd/conf/ssl.crt/server.ca is set.
Using 209.190.77.249 for your server IP
Restarting apache.
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
This file is in /usr/local/cwaf/rules/ and not in /etc/httpd/
I run ./build update ./build apache ./build php n ./build rewrite_confs ./build modsecurity ./build modsecurity_rules and ./build rewrite_confs but this command can not solve this problem.
What to do?
Apache can not start and I get this error:
Enabling httpd in systemd...
httpd: Syntax error on line 50 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 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: Syntax error on line 1 of /usr/local/cwaf/rules/rules.conf.main: Could not open configuration file /etc/httpd/00_Init_Initialization.conf: No such file or directory
Checking to ensure /etc/httpd/conf/ssl.crt/server.ca is set.
Using 209.190.77.249 for your server IP
Restarting apache.
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
This file is in /usr/local/cwaf/rules/ and not in /etc/httpd/
I run ./build update ./build apache ./build php n ./build rewrite_confs ./build modsecurity ./build modsecurity_rules and ./build rewrite_confs but this command can not solve this problem.
What to do?
Last edited: