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