Welcome to WebmasterWorld Guest from 54.205.170.21

Forum Moderators: phranque

Message Too Old, No Replies

IIS Problem - odd

need to specify filename in URL

   
4:47 pm on Mar 24, 2006 (gmt 0)

10+ Year Member



hi,

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?

David

4:59 pm on Mar 24, 2006 (gmt 0)

WebmasterWorld Senior Member txbakers is a WebmasterWorld Top Contributor of All Time 10+ Year Member



in IIS the default documents are default.asp default.htm and default.html

You have to implicitly add index.asp, etc.

5:45 pm on Mar 24, 2006 (gmt 0)

10+ Year Member



hi, yes i have done this , i have implicitly added "index.asp"
to no avail. However when i specify .../index.asp" it works fine.
6:04 pm on Mar 24, 2006 (gmt 0)

WebmasterWorld Administrator lifeinasia is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



Try restarting IIS. You shouldn't have to, but it *IS* Microsoft...

Also, check your "Directory browsing" checkbox. Does changing it make a difference?

9:52 pm on Mar 24, 2006 (gmt 0)

10+ Year Member



Hi,

No it didnt. Im uninstalling IIS and reinstalling to see if that fixes it.

3:29 am on Mar 25, 2006 (gmt 0)

10+ Year Member



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.

3:38 am on Mar 25, 2006 (gmt 0)

10+ Year Member



Hi,
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.

David

 

Featured Threads

Hot Threads This Week

Hot Threads This Month