web.config of test site (index.htm in root of site) (with only index.htm in the default document list, and directory browsing enabled)
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<defaultDocument>
<files>
<clear />
<add value="index.htm" />
</files>
</defaultDocument>
<directoryBrowse enabled="true" />
</system.webServer>
</configuration>
Detailed errors information on the 404 page (domain name and physical folder sanitized)
Detailed Error Information:
Module | IIS Web Core |
---|---|
Notification | MapRequestHandler |
Handler | StaticFile |
Error Code | 0x80070002 |
Requested URL | http://mydomain.com:80/ |
---|---|
Physical Path | F:\web\testsite |
Logon Method | Anonymous |
Logon User | Anonymous |
The index.htm is in the actual folder (shown above sanitized as F:\web\testsite)
IIS log file for the request (three shown) (IP address sanitized)
2013-11-26 17:10:02 10.9.161.121 GET / - 80 - xx.xx.xx.xx Mozilla/5.0+(Windows+NT+6.3;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko - 404 0 2 250
2013-11-26 17:10:29 10.9.161.121 GET / - 80 - xx.xx.xx.xx Mozilla/5.0+(Windows+NT+6.3;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko - 404 0 2 62
2013-11-26 17:13:48 10.9.161.121 GET / - 80 - xx.xx.xx.xx Mozilla/5.0+(Windows+NT+6.3;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko - 404 0 2 46
a request to the http://mydomain.com/index.html : IIS log file shows (IP address santized)
2013-11-26 17:19:11 10.9.161.121 GET /index.htm - 80 - xx.xx.xx.xx Mozilla/5.0+(Windows+NT+6.3;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko - 404 0 2 0
All looks OK to me....
...Rick..