Difference between revisions of "Directory Listing Denied"
From Hostek.com Wiki
Line 1: | Line 1: | ||
− | + | '''Directory Listing Denied''' | |
− | + | ||
− | Generally, this error is caused by not having a default file in a directory. You | + | 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.htm |
− | default.asp | + | *default.html |
− | index.html | + | *default.asp |
− | index.php | + | *default.cfm |
− | index.asp | + | *index.html |
− | index.aspx | + | *index.htm |
− | index.cfm | + | *index.php |
+ | *index.asp | ||
+ | *index.aspx | ||
+ | *index.cfm | ||
+ | *home.htm | ||
+ | *home.html | ||
+ | *home.asp | ||
+ | *home.cfm | ||
+ | *home.aspx | ||
− | Generally, files named "Default" or "index", 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. |
+ | 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== | ==Set a default document in WCP== | ||
Line 21: | Line 30: | ||
# Click on the Default Docs tab at the top | # 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 | # 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]] |
Revision as of 03:58, 23 November 2012
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
- 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