After the installation of Apache is usually the first time to shut down the version of Apache information and other information, some hackers will be exposed by Apache information targeted intrusion, for the security of the server this information must be closed in a timely manner, configured as follows
1. Hide Apache Information
1.1 Enable httpd-default.conf in primary configuration
# vi/usr/local/apache2/conf/httpd. Conf
Find httpd-default.conf, remove the "#" in front of includes, and change to the following
Include conf/extra/httpd-default.conf
1.2 Modification httpd-default.conf
File:/usr/local/apache2/conf/extra/httpd-default.conf
Found it
Servertokens full
Serversignature on
Change into
Servertokens Prod
Serversignature off
2. Test
2.1 Before the change screenshot
Apache Information not hidden
2.2 Hidden after
Hide Apache Information
3. End
Configuration complete, very simple.