Filed under:

Directory Listing Denied / Changing default index page / You are not authorized to view this page




I am getting a message like this...





Directory
Listing Denied

This Virtual Directory does not allow contents to be
listed.



This is displayed when there is no default
index page, for example there is no file named


1. default.htm
2. default.asp

3. default.html
4. index.html
5. index.htm

6. index.asp

This means the server does
not know what to display. You can fix this a number
of way,

1. Create a file with a name like
one above


2. Switch on directory
browsing - this means if no default page is found
the server will automaticvally display all pages and
folders as links for the user



  • Log on to your control panel

  • Click the "Domains" link

  • Click the domain name you wish to edit

  • Click the "Edit" icon next to
    the label "Web Service"

  • Under the "Settings" title
    next to the label "Indexes" click
    the "Enabled" button and then
    click "Submit"


3. You can change the default page for the folder
you have this problem with



  • Log on to your control panel

  • Click the "Domains" link

  • Click the domain name you wish to edit

  • Click the "Edit" icon next to
    the label "Web Service"

  • Near the bottom of the page switch on
    "Directory Indexes"
    - now you can enter
    different folder and file names to become your
    defaults.
    eg if you wanted http://yourdomain.name/start.html
    to be your default page you would enter "start.html"




Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
article icon Trust Logo (Views: 1739)
article icon I am getting spam mail (Views: 1960)
article icon Cannot receive email... (Views: 2591)

Language: