IIS7 Default Document not working

Posted by TooFat on Server Fault See other posts from Server Fault or by TooFat
Published on 2011-02-07T15:55:53Z Indexed on 2012/06/20 3:17 UTC
Read the original article Hit count: 511

Filed under:

I have a website running on IIS 7 that has the default document on the Web Site Level set to only index.php. If I right click on the Web Site in IIS Manager and select Explore I see that the index.php file is there. If I just browse to the web site like http://my.site.com I get the default IIS 7 logo with "Welcome" in a bunch of diff languages. If I go to http://my.site.com/index.php it brings up the site just fine. I have stopped and started the Web Site and ran iisreset but still no luck.

The Default Document Section of Web.config looks like this

    <defaultDocument>
        <files>
            <clear />
            <add value="index.php" />
        </files>
    </defaultDocument>

What am I missing?

© Server Fault or respective owner

Related posts about iis7