Turn off or turn on Apache directory browsing

Source: Internet
Author: User

To shut down or turn on Apache directory browsing for security or convenience

Close directory Browse Modify http.conf file Options Indexes followsymlinks change to options-indexes followsymlinks Close some information modify Serversignature Offservertokens Prod Instructions Servertokens Instructions Servertokens prod[uctonly] The server will send (for example): Server:apacheservertokens Major The server will send ( For example): Server:apache/2servertokens minor server will send (for example): Server:apache/2.0servertokens Min[imal] The server will send (for example): server:apache/ 2.0.41ServerTokens OS Server will send (for example): server:apache/2.0.41 (Unix) Servertokens full (or unspecified) the server will send (for example): server:apache/2.0.41 (Unix) php/4.2.2 mymod/1.2 Open Directory browsing <Directory/webwww/wumashi/works> Options Indexes followsymlinks< /directory>

Turn off or turn on Apache directory browsing

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.