Difference between revisions of "Directory Listing Denied"

From Hostek.com Wiki
Jump to: navigation, search
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
'''Directory Listing Denied'''
+
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 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:
+
*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.htm
*default.html
+
default.html
*default.asp
+
default.asp
*default.cfm
+
default.cfm
*index.html
+
index.html
*index.htm
+
index.htm
*index.php
+
index.php
*index.asp
+
index.asp
*index.aspx
+
index.aspx
*index.cfm
+
index.cfm
*home.htm
+
home.htm
*home.html
+
home.html
*home.asp
+
home.asp
*home.cfm
+
home.cfm
*home.aspx
+
home.aspx
  
Generally, files named "Default" or "index" or "home", followed by the appropriate extension, will work as the default file.
+
*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:
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.
+
#https://wiki.hostek.com/Default_document
 
+
__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