SV-214339r505936_rule
V-214339
SRG-APP-000266-WSR-000159
AS24-W1-000620
CAT II
10
Edit the <'INSTALL PATH'>\conf\httpd.conf file and use the "ErrorDocument" directive to enable custom error pages.
ErrorDocument 500 "Sorry, our script crashed. Oh dear"
ErrorDocument 500 /cgi-bin/crash-recover
ErrorDocument 500 http://error.example.com/server_error.html
ErrorDocument 404 /errors/not_found.html
ErrorDocument 401 /subscription/how_to_subscribe.html
The syntax of the ErrorDocument directive is:
ErrorDocument <3-digit-code> <action>
Restart the Apache service.
Additional Information:
https://httpd.apache.org/docs/2.4/custom-error.html
Review the <'INSTALL PATH'>\conf\httpd.conf file.
If the "ErrorDocument" directive is not being used, this is a finding.
V-214339
False
AS24-W1-000620
Review the <'INSTALL PATH'>\conf\httpd.conf file.
If the "ErrorDocument" directive is not being used, this is a finding.
M
3998