Knowledgebase
HOW TO: Disable directory browsing
Posted by Sugen S. on 27 June 2018 11:53 AM

You can use either of the below commands to stop directory browsing, just add either one to your .htaccess file.

Options -Indexes

or

Options None


This is useful if you have a big list of files in a directory with no index.html file and you don’t want visitors to be able to browse through all of those.

 

(0 vote(s))
Helpful
Not helpful

Comments (0)
Copyright © 1998 - 2018 Shinjiru International Inc. All Rights Reserved.