PHP in windows getting Directory Listing Denied

If you have a customer that has the index.php file in a subfolder of their primary domain and they call http://mydomain.com/subfolder/ one would expect the index.php to go ahead and load. But instead the user sees Directory Listing Denied.

In HSHPERE PHP is enabled and the extensions are there. What else do I need to look for.

Thanks.
 
tanmaya said:
Please set directory index to "index.php".

Why do I have to add something there. When I put the file index.html in the subfolder it worked just fine, but when I swapped it out with the index.php that one did not load.

I guess I am wondering why I have to add the index.php to the directory indexes option (which was disabled) and not have to add index.html.

Thanks.
 
By enabling a particular extension, index page entry for this extension is not added by Hsphere. This has be done manually.
 
tanmaya said:
By enabling a particular extension, index page entry for this extension is not added by Hsphere. This has be done manually.

Except it does seem to allow the index.html without having directory indexes enabled. Once you enable it you have to put that one in there or it will not work.

I am good to go now though. Thanks
 
This is because when you edit directory indexes, it overwrites with the ones you have specified. So, "index.html" also will only be included if you have added it.
 
Back
Top