|
How do I turn off Directory Indexing or browsing?
By default if you do not have a recognized index file in a directory you will get a directory listing laid out. This can be bad if there is coding or other files that you do not want seen unless the user accesses a particular way. This may lead you to want to turn off directory indexing or browsing as it is sometimes referred to. Just create a .htaccess file or edit your current one in the public_html directory of your account and add the following: Options -Indexes If you want to do this only for a single directory, just go to that directory and create a .htaccess file with the above line. support@mercuryd.com |