Based on security, when Apache under CentOS reports error 404, etc., the implementation of the version information of the server is not displayed.
1. When returning to 404, the footer of the web page displays: Apache/2.2.15 (CentOS) server at zhidao.hmwis.com Post 80

When returning 404, the footer of the web page displays: Apache/2.2.15 (CentOS) server at zhidao.hmwis.com Post 80
2. Edit the httpd.conf file
ServerSignature on
Modified to:
# serversignature on
ServerSignature Off
3. When returning 404, the web footer no longer displays the corresponding information
4. Check the response head in Taobao’s message header, server:”nginx”
5. Check the response header in the message header of zhidao.hmwis.com, server: “apache/2.2.15 (CentOS)”

Check the response header in the message header of zhidao.hmwis.com, server: “apache/2.2.15 (CentOS)”
6. Edit the httpd.conf file
ServerTokens OS
Modified to:
# serverTokens OS
serverTokens prod
7. After restarting the server, check the response header in the message header of zhidao.hmwis.com again, server:”apache”




