Difference between revisions of "Directory Listing Denied"

From Hostek.com Wiki
Jump to: navigation, search
 
Line 1: Line 1:
'''Directory Listing Denied'''
+
This '''Directory Listing Denied''' error may also be seen as a '''404 Not Found''' error.
  
This may also be seen as a 404 Not Found.
+
*Generally this error is caused by not having a Default Document in a directory.
 +
*You usually need to have a file with one of the following names in the directory to be able to browse to that directory:
  
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
  
*default.htm
+
*Generally, files named "Default" or "index" or "home", followed by the appropriate extension, will work as the default file.
*default.html
+
*Please see this Default Document Wiki to see how to change/modify/add a Default Document:
*default.asp
+
#https://wiki.hostek.com/Default_document
*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.
+
 
+
__FORCETOC__
+
==Set a default document in WCP==
+
 
+
# Log into your WCP
+
# Click on the IIS Settings Icon under the Website Settings area
+
# Click on the Default Docs tab at the top
+
# 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==
+
  
 
[[Category:Tutorials]]
 
[[Category:Tutorials]]

Latest revision as of 19:00, 17 June 2015

This Directory Listing Denied error may also be seen as a 404 Not Found error.

  • Generally this error is caused by not having a Default Document in a directory.
  • You usually 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.
  • Please see this Default Document Wiki to see how to change/modify/add a Default Document:
  1. https://wiki.hostek.com/Default_document