SV-33151r2_rule
V-26281
WA00615
WA00615 W22
CAT II
10
Edit the httpd.conf file and configure to load the log_config_module. Configure with ErrorLog and CustomLog directives to ensure comprehensive system and access logging.
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 directives:
LoadModule log_config_module modules/mod_log_config.so
If the LoadModule log_config_module directive is commented out or does not exist, this is a finding.
Search for both of the following uncommented directives: ErrorLog and CustomLog.
If no uncommented directives for both ErrorLog and CustomLog are found, this is a finding.
Note: This check is applicable to every host and virtual host the web server is supporting.
V-26281
False
WA00615 W22
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 directives:
LoadModule log_config_module modules/mod_log_config.so
If the LoadModule log_config_module directive is commented out or does not exist, this is a finding.
Search for both of the following uncommented directives: ErrorLog and CustomLog.
If no uncommented directives for both ErrorLog and CustomLog are found, this is a finding.
Note: This check is applicable to every host and virtual host the web server is supporting.
M
Web Administrator
161