STIGhubSTIGhub
STIGsRMF ControlsCompare
STIGhub— A free STIG search and compliance tool·STIGs updated 3 days ago
Powered by Pylon·Privacy·Terms·© 2026 Beacon Cloud Solutions, Inc.
← Back to APACHE 2.2 Site for Windows Security Technical Implementation Guide

V-26280

CAT II (Medium)

The sites error logs must log the correct format.

Rule ID

SV-33149r1_rule

STIG

APACHE 2.2 Site for Windows Security Technical Implementation Guide

Version

V1R13

CCIs

None

Discussion

The server error logs are invaluable because they can also be used to identify potential problems and enable proactive remediation. Log data can reveal anomalous behavior such as “not found” or “unauthorized” errors that may be an evidence of attack attempts. Failure to enable error logging can significantly reduce the ability of Web Administrators to detect or remediate problems.

Check Content

Locate the Apache httpd.conf file.

If unable to locate the file, perform a search of the system to find the location of the file.

Open the httpd.conf file with an editor such as notepad, and search for the following uncommented directive:  LogFormat

The minimum items to be logged are as shown in the sample below:

LogFormat "%a %A %h %H %l %m %s %t %u %U \"%{Referer}i\"" combined

Verify the information following the LogFormat directive meets or exceeds the minimum requirement above. If any LogFormat directive does not meet this requirement, this is a finding.

Fix Text

Edit the configuration file/s and add LogFormat "%a %A %h %H %l %m %s %t %u %U \"%{Referer}i\"" combined