[root@kvm3 ~]# curl -s http://kvm3.deyu.wang/abc <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /abc was not found on this server.</p> </body></html>
[root@kvm3 ~]# vim /etc/httpd/conf/httpd.conf [root@kvm3 ~]# grep ^Server[TS] /etc/httpd/conf/httpd.conf ServerTokens Full ServerSignature on
[root@kvm3 ~]# systemctl restart httpd.service
[root@kvm3 ~]# curl -s http://kvm3.deyu.wang/dyw/sadas <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /dyw/sadas was not found on this server.</p> <hr> <address>Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_wsgi/3.4 Python/2.7.5 Server at kvm3.deyu.wang Port 80</address> </body></html>
[root@kvm3 ~]# vim /etc/httpd/conf/httpd.conf [root@kvm3 ~]# grep ^Server[TS] /etc/httpd/conf/httpd.conf ServerTokens Prod ServerSignature on [root@kvm3 ~]# systemctl restart httpd.service [root@kvm3 ~]# curl -s http://kvm3.deyu.wang/dyw/sadas <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /dyw/sadas was not found on this server.</p> <hr> <address>Apache Server at kvm3.deyu.wang Port 80</address> </body></html>