We are aware of a potentially service impacting issue. Learn more
Choose Theme Options

Predefined Color Skins

How to Stop A Directory Index From Being Shown Print

  • 1

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, a full listing of all the files in that directory will be shown, which could be a security risk for your site. 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.

Was this answer helpful?

« Back