The website uses the asp.net framework.
The problem is that I have a folder with an index.php
as the index page. It only loads if I specify the path as /folder/index.php
, but throws up a 403 forbidden if I use just /folder
. (/folder
works if an index.html
is in the folder)
How can this be resolved? I am not at all experienced with asp.net and prefer not to mess with any of the existing config files if possible.
Note: The PHP page loads perfectly fine. The problem is that asp.net is not recognizing the index.php page as an index page.
SOLUTION: I followed EdSF's advice and created a web.config file in that folder with the following inside the config
<configuration>
<system.webServer>
<defaultDocument>
<files>
<add value="index.php" />
</files>
</defaultDocument>
</system.webServer>
</configuration>