Apache Hidden version number tutorial (CentOS)

Source: Internet
Author: User

1 Apache configuration file found/etc/httpd/conf/httpd.conf

2 Add Write permission to the file: chmod u+w httpd.conf

3 Open the file find the Servertokens field to change its value to prod, and the contents will be changed to form:

4 continue to find the Serversignature field value to OFF (o capitalization) in the file, and the contents will be changed to form:

5 Save the file and restart the Apache service (verify that the restart has an impact on the app):

Service httpd Restart

6 [optional] access a non-existent page to view the error message, if 2 does not display the version information line that the modification was successful.

Description: Apache HTTP server and Apache Tomcat are two different projects, this tutorial only applies to the former, for the Apache Tomcat version number of the hidden, please go to "Tomcat revision version number tutorial."

Apache Hidden version number tutorial (CentOS)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.