If you encountered â€Directory Listing Denied – This Virtual Directory does not allow contents to be listed†error message on Windows Hosting, it is probably because you use index.php as your main file.
By default, HSphere does not include index.php as directory index or main file on Windows Hosting. That means, if you want to use index.php as your main file, you will need to modify your directory index setting in you hosting control panel and put index.php as your directory index.
Read below article for detail info:
Directory Indexes
This tool allows you to set your own index pages instead of those specified in the default settings. In other words, you can tell your visitors’ browsers which page to load as they hit your domain. Usually, it’s /index.html by default, but you can set any other custom welcome page.
Example: If a visitor goes to your site http://www.example.com, the first page to open will be http://www.example.com/index.html. However, if you set /welcome.html as the directory index, the page to open will be http://www.example.com/welcome.html.
Warning: your custom index pages won’t add to the defaults; they will replace them. Therefore, make sure to enter the full list of indexes you would like to have in your configuration.
