Has anyone encountered this config problem with mod_security after ./build rewrite_confs and Apache fails to start with error - Invalid command 'SecAuditLogFormat', perhaps misspelled or defined by a module not included in the server configuration?
We had to comment out SecAuditLogFormat line in /etc/httpd/conf/extra/httpd-modsecurity.conf and after that Apache was able to start without problems. Apache startup log:
OS is CentOS Stream release 8, everything else is latest stable.
Is this something that maybe DirectAdmin staff can take a look and sort in update?
thanks
We had to comment out SecAuditLogFormat line in /etc/httpd/conf/extra/httpd-modsecurity.conf and after that Apache was able to start without problems. Apache startup log:
Nov 29 18:26:37 nmservers.net systemd[1]: Starting The Apache HTTP Server...
Nov 29 18:26:37 nmservers.net httpd[3397222]: AH00526: Syntax error on line 12 of /etc/httpd/conf/extra/httpd-modsecurity.conf:
Nov 29 18:26:37 nmservers.net httpd[3397222]: Invalid command 'SecAuditLogFormat', perhaps misspelled or defined by a module not included in the server configuration
Nov 29 18:26:37 nmservers.net systemd[1]: httpd.service: Main process exited, code=exited, status=1/FAILURE
Nov 29 18:26:37 nmservers.net systemd[1]: httpd.service: Failed with result 'exit-code'.
Nov 29 18:26:37 nmservers.net systemd[1]: Failed to start The Apache HTTP Server.
OS is CentOS Stream release 8, everything else is latest stable.
Is this something that maybe DirectAdmin staff can take a look and sort in update?
thanks