|IIS Problem - odd|
need to specify filename in URL
I have a windows test box with the following problem which is on the local network:
1. If I type [192.168.0.21...]
I get a 404 file not found. This is depsite index.asp exisiting and index.htm(l)
2. If it type [192.168.1.21...] the server works fine and delivers the pages.
I have played and played with host headers but think something is wrong or im missing something elsewhere.
Its not default document which all include index.asp index.html and index.htm Its more that the server is only giivng out the page if you specify it EXACTLY .
does anybody have any ideas?
in IIS the default documents are default.asp default.htm and default.html
You have to implicitly add index.asp, etc.
hi, yes i have done this , i have implicitly added "index.asp"
to no avail. However when i specify .../index.asp" it works fine.
Try restarting IIS. You shouldn't have to, but it *IS* Microsoft...
Also, check your "Directory browsing" checkbox. Does changing it make a difference?
No it didnt. Im uninstalling IIS and reinstalling to see if that fixes it.
Check your log files, and see what IIS thinks you're trying to load. At one time, I had installed Isapi_Rewrite on my dev machine, and it had a broken rule in it, but it only affected the default web site (which I don't use, so I never noticed that the default doc wouldn't load). When I looked in the logfiles, and saw that IIS was trying to load "/.html" instead of "/index.html", it led me to the problem.
Not saying Isapi_Rewrite is the culprit in your case, just that checking the logs might tell you what IIS thinks you want, and that might get you started down the right path.
Thank you guys, i spoke with somebody in MS in the end and he told me that there were several possibilities. I lost most of the day with it , so in the end binned the machine and did a reinstall . Ill be much more carefull with IIS now carefully deciding what ISAPI´s etc. to install ( which i believe are the culprit and in effect knocked over the document indexing )
Thanks for the advice.