1. When returning a 404, the web page footer displays: Apache/2.2.15(CentOS) Server at zhidao.hmwis.com Post 80

2. Edit the httpd.conf file
ServerSignature On
Change to:
# ServerSignature On
ServerSignature Off

Change to:
# ServerSignature On
ServerSignature Off
3. When returning a 404, the web page footer no longer displays the corresponding information

4. Check the response headers in Taobao’s message headers, Server:”nginx”

5. Check the response headers in zhidao.hmwis.com’s message headers, Server:”Apache/2.2.15 (CentOS)”

6. Edit the httpd.conf file
ServerTokens OS
Change to:
# ServerTokens OS
ServerTokens Prod

Change to:
# ServerTokens OS
ServerTokens Prod
7. After restarting the server, check the response headers in zhidao.hmwis.com’s message headers again, Server:”Apache”

