I created a virtual directory for my php app.
Now I get the “Directory Listing Denied
This Virtual Directory does not allow contents to be listed.”
Do I need to make some kind of dummy index.asp file that redirects (OR PREFERRED: just displays index.php) or how to solve this?
I have restricted access to webserver, but index.php is set to be default
Assuming you are using IIS, you probably need to add index.php as a default index file.
Go to Start Menu -> Settings -> Control Panel -> Administrative Tools
or possibly
Start -> Control Panel -> Performance and Maintenance -> Administrative Tools
Double-click “Internet Information Services” or “IIS”
In the tree on the left, open up the folder for the web server computer, then locate the entry for the website you want to configure
Right-click that website and select “Properties”
Click the “Documents” tab
Make sure “Enable Default Document” is checked
Click “Add”
Enter index.php and click “OK”
Click “OK” again