Directory Listing Denied, This Virtual Directory does not allow contents to be listed

Directory Listing Denied, This Virtual Directory does not allow contents to be listed

Are you seeing this error message when trying to view your site?

Directory Listing Denied
This Virtual Directory does not allow contents to be listed.

You have probably set your site to "No Indexing". This will cause a 403 error if their is no default index page to load.

There are several solutions to this problem.

  • You can disable "No Indexing" by changing the setting in cPanel's Index Manager. Set the root folder of your domain to "Default System Setting".
  • You may simply need to rename your home page file on your site to "index.html" or "index.php". That is the normal name of the index page which your site expects.
  • If you don't want to change your site design, you can tell your site the name of your home page (maybe it's home.html instead of index.html). This is accomplished by setting the Directory Index code in your .htaccess file.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

WordPress pointing home URL to subdirectory

Pointing your home site's URL to a subdirectory In some cases, you may have a WordPress site...

How to log into cPanel

cPanel is a web hosting account management tool available on all Digicom Linux hosting plans,...

Change cPanel Password or recover lost password

Requesting a New cPanel Password If you have lost or forgotten your cPanel password, you can...

Location of Script Configuration Files

Location of Script Configuration Files These paths are relative to the root of the script, not...

Connect to MySQL Database

How to Connect to the MySQL Database In order for your MySQL database to work as intended, it...