-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
root@ubuntu:rules# vim /etc/apache2/mods-available/security2.conf
# Default Debian dir for modsecurity's persistent data SecDataDir /var/cache/modsecurity # Include all the *.conf files in /etc/modsecurity.
# Keeping your local configuration in that directory
# will allow for an easy upgrade of THIS file and
# make your life easier
IncludeOptional /etc/modsecurity/*.conf
IncludeOptional /usr/share/modsecurity-crs/rules/*.conf
#IncludeOptional /usr/share/modsecurity-crs/activated_rules/*.conf
# Include OWASP ModSecurity CRS rules if installed
IncludeOptional /usr/share/modsecurity-crs/owasp-crs.load
Jun 05 19:54:53 ubuntu systemd[1]: Starting The Apache HTTP Server...
Jun 05 19:54:53 ubuntu apachectl[4846]: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directJun 05 19:55:01 ubuntu systemd[1]: Started The Apache HTTP Server.
Jun 05 19:57:23 ubuntu systemd[1]: Reloading The Apache HTTP Server.
Jun 05 19:57:23 ubuntu apachectl[4936]: AH00526: Syntax error on line 62 of /usr/share/modsecurity-crs/rules/REQUEST-901-INITIALIZATION.conf:
Jun 05 19:57:23 ubuntu apachectl[4936]: ModSecurity: Found another rule with the same id
Jun 05 19:57:23 ubuntu apachectl[4936]: Action 'graceful' failed.
Jun 05 19:57:23 ubuntu apachectl[4936]: The Apache error log may have more information.
Jun 05 19:57:23 ubuntu systemd[1]: apache2.service: Control process exited, code=exited status=1
Jun 05 19:57:23 ubuntu systemd[1]: Reload failed for The Apache HTTP Server.
root@ubuntu:rules#