httpd wird gestartet: AH00526: Syntaxfehler in Zeile 7 von /etc/httpd/conf.d/modsecurity.conf:

httpd wird gestartet: AH00526: Syntaxfehler in Zeile 7 von /etc/httpd/conf.d/modsecurity.conf:

Ich habe mod_security und mod_evasive in Amazon EC2 installiert. Zunächst werden die Komponenten libxml2 libxml2-devel, httpd-devel, pcre-devel und curl-devel benötigt. Da meine Site jedoch PHP56 verwendet, habe ich die folgenden Befehle verwendet:

yum entferne httpd-tools yum -y installiere httpd24 yum -y installiere php56

und den Dienst httpd neu gestartet wird, wird folgende Meldung angezeigt:

Stopping httpd: [FAILED]
Starting httpd: AH00526: Syntax error on line 7 of /etc/httpd/conf.d/modsecurity.conf:
Invalid command 'SecRuleEngine', perhaps misspelled or defined by a module not included in the server configuration
[FAILED]

Ich kann den Dienst nicht starten. Kann mir jemand helfen?

Die Datei/etc/httpd/conf.d/modsecurity.conf

Bildbeschreibung hier eingeben

verwandte Informationen