Logs of web server access and errors must be established and maintained

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-2250WG240WG240 A22SV-33025r1_rule2019-01-071
Description
A major tool in exploring the web site use, attempted use, unusual conditions, and problems are reported in the access and error logs. In the event of a security incident, these logs can provide the SA and the web manager with valuable information. Without these log files, SAs and web managers are seriously hindered in their efforts to respond appropriately to suspicious or criminal actions targeted at the web site.
ℹ️ Check
To view a list of loaded modules enter the following command: /usr/local/apache2/bin/httpd -M If the following module is not found, this is a finding: "log_config_module"
✔️ Fix
Edit the httpd.conf file and add the following module to configure logging. "log_config_module"