Just Host Web Hosting Help
Stopping Display of All files on Web page
Sometimes, for one reason or another, you will have no index file in your directory. This will, of course, mean that if someone types the directory name into their browser, theIndex of /page will appear with a full listing of all the files in that directory will be shown. This could be a security risk for your site.Note: You can also manage the index settings through the cPanel interface.
To prevent against this (without creating lots of new 'index' files, you can enter a command into your .htaccess file to stop the directory list from being shown:
Options -Indexes
239,379 views
bookmark
share
tags: directory htaccess index
Recommended Help Content
Related Help Content
893,321 views
tags: htaccess messing mod php redirect redirects rewrite variable variables
E-mail
Twitter
Google Bookmarks
Facebook
MySpace
Digg
Reddit
Delicious
LinkedIn
StumbleUpon