Directory Listing Denied

From Hostek.com Wiki
Revision as of 03:58, 23 November 2012 by Briana (Talk | contribs)

Jump to: navigation, search

Directory Listing Denied

Generally, this error is caused by not having a default file in a directory. You need to have a file with one of the following names in the directory to be able to browse to that directory:

  • default.htm
  • default.html
  • default.asp
  • default.cfm
  • index.html
  • index.htm
  • index.php
  • index.asp
  • index.aspx
  • index.cfm
  • home.htm
  • home.html
  • home.asp
  • home.cfm
  • home.aspx

Generally, files named "Default" or "index" or "home", followed by the appropriate extension, will work as the default file.

You can add your own default document in your control panel if you have or want your home page to be named something different. The steps below show you how.


Set a default document in WCP

  1. Log into your WCP
  2. Click on the IIS Settings Icon under the Website Settings area
  3. Click on the Default Docs tab at the top
  4. You can rearange these or remove by using the icons on the left. If you would like to add a new one scroll to the bottom and click +Add


Set a default document in cPanel