How to Disable Directory Listing

Posted in Articles

Tweet This Share on Facebook Bookmark on Delicious Digg this Submit to Reddit

Normally, you should disable directory listing for your site.  If your webhost is listing the files of your directories to your viewers then it is not configured right.  Web server should not list files of images, for example.  It can often be fixed by adding …

IndexIgnore *

to .htaccess file.

Reference: htaccess-guide.com

 


Related Posts

Tags

Share This