SV-214231r612240_rule
V-214231
SRG-APP-000516-WSR-000174
AS24-U1-000065
CAT II
10
Edit the "httpd.conf" file and enter the name, path and level for the CustomLog.
Determine the location of the "HTTPD_ROOT" directory and the "httpd.conf" file:
# httpd -V | egrep -i 'httpd_root|server_config_file'
-D HTTPD_ROOT="/etc/httpd"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
Search for the directive "CustomLog" in the "httpd.conf" file:
# cat /<path_to_file>/httpd.conf | grep -i "CustomLog"
If the "CustomLog" directive is missing, this is a finding:
An example CustomLog directive would be as follows:
CustomLog "logs/access_log" common or CustomLog “log/access_log” combined
(May also be "Logs/access_log")
V-214231
False
AS24-U1-000065
Determine the location of the "HTTPD_ROOT" directory and the "httpd.conf" file:
# httpd -V | egrep -i 'httpd_root|server_config_file'
-D HTTPD_ROOT="/etc/httpd"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
Search for the directive "CustomLog" in the "httpd.conf" file:
# cat /<path_to_file>/httpd.conf | grep -i "CustomLog"
If the "CustomLog" directive is missing, this is a finding:
An example CustomLog directive would be as follows:
CustomLog "logs/access_log" common or CustomLog “log/access_log” combined
(May also be "Logs/access_log")
M
3996