SV-214228r612240_rule
V-214228
SRG-APP-000001-WSR-000001
AS24-U1-000010
CAT II
10
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"
Set the "KeepAlive" directive to a value of "on"; add the directive if it does not exist.
Set the "MaxKeepAliveRequests" directive to a value of "100" or greater; add the directive if it does not exist.
Restart Apache: apachectl restart
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 directives "KeepAlive" and "MaxKeepAliveRequests" in the "httpd.conf" file:
# cat /<path_to_file>/httpd.conf | grep -i "keepalive"
KeepAlive On
MaxKeepAliveRequests 100
If the value of "KeepAlive" is set to "off" or does not exist, this is a finding.
If the value of "MaxKeepAliveRequests" is set to a value less than "100" or does not exist, this is a finding.
V-214228
False
AS24-U1-000010
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 directives "KeepAlive" and "MaxKeepAliveRequests" in the "httpd.conf" file:
# cat /<path_to_file>/httpd.conf | grep -i "keepalive"
KeepAlive On
MaxKeepAliveRequests 100
If the value of "KeepAlive" is set to "off" or does not exist, this is a finding.
If the value of "MaxKeepAliveRequests" is set to a value less than "100" or does not exist, this is a finding.
M
3996