Gentoo Archives: gentoo-user

From: thelma@×××××××××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Apache 2.4 - set SecStatusEngine to On
Date: Sun, 03 Jan 2021 19:57:15
Message-Id: 77994baa-80df-f862-374e-2b53cf8aff09@sys-concept.com
In Reply to: Re: [gentoo-user] Apache 2.4 - set SecStatusEngine to On by Michael
1 Thelma
2 On 1/3/21 9:02 AM, Michael wrote:
3 > On Saturday, 2 January 2021 04:46:58 GMT thelma@×××××××××××.com wrote:
4 >> Status engine is currently disabled, enable it by set SecStatusEngine to On.
5 >>
6 >> How to enable "SecStatusEngine to On" in Apache 2.4
7 >>
8 >> From my log file:
9 >> [Fri Jan 01 19:44:52.649498 2021] [core:notice] [pid 14152] AH00094:
10 >> Command line: '/usr/sbin/apache2 -D DEFAULT_VHOST -D INFO -D SSL -D
11 >> SSL_DEFAULT_VHOST -D LANGUAGE -D PHP -D SECURITY -d /usr/lib64/apache2
12 >> -f /etc/apache2/httpd.conf'
13 >> [Fri Jan 01 21:10:26.781254 2021] [mpm_prefork:notice] [pid 14152]
14 >> AH00169: caught SIGTERM, shutting down
15 >> [Fri Jan 01 21:10:27.871561 2021] [:notice] [pid 16586] ModSecurity for
16 >> Apache/2.9.3 (http://www.modsecurity.org/) configured.
17 >> [Fri Jan 01 21:10:27.871577 2021] [:notice] [pid 16586] ModSecurity: APR
18 >> compiled version="1.7.0"; loaded version="1.7.0"
19 >> [Fri Jan 01 21:10:27.871579 2021] [:notice] [pid 16586] ModSecurity:
20 >> PCRE compiled version="8.44 "; loaded version="8.44 2020-02-12"
21 >> [Fri Jan 01 21:10:27.871581 2021] [:notice] [pid 16586] ModSecurity:
22 >> LIBXML compiled version="2.9.10"
23 >> [Fri Jan 01 21:10:27.871582 2021] [:notice] [pid 16586] ModSecurity:
24 >> Status engine is currently disabled, enable it by set SecStatusEngine to On.
25 >
26 > I would think you set it on in the config file for your vhost. I don't use
27 > this function, but there are instructions how to configure it here:
28 >
29 > https://github.com/SpiderLabs/ModSecurity/wiki
30 >
31 > HTH.
32
33 Adding:
34 SecStatusEngine On
35
36 to: 79_mod_security.conf
37
38 solved the problem, the error message went away, but I'm puzzled why these messages appear in file: error_log
39 these are not error logs just information.