Forum Moderators: phranque

Message Too Old, No Replies

403 errors going to a directory in IIS

I get a 403 error when I go to www.domain.com/subdirectory

         

SpacemanSpiff

11:13 pm on Feb 13, 2004 (gmt 0)

10+ Year Member



even though I have anonymous access turned on. I want the server to just return index.htm in that directory...what can I do?

TIA!

Fischerlaender

9:23 am on Feb 14, 2004 (gmt 0)

10+ Year Member



IIRC the IIS default name for the directory index page is default.htm, not index.htm. Rename your index.htm page to default.htm and it should work.
Or change the configuration of IIS to treat index.htm as default files.

SpacemanSpiff

4:37 pm on Feb 14, 2004 (gmt 0)

10+ Year Member



Gotcha. I tried this before and it doesn't seem to do a thing. I can turn on directory browsing and they get an index of the directory...I can even see the index.htm files I told IIS to use. If I try to manually type in the index.htm, it says not found. Very frustrating. Any idea what might be going on?

Fischerlaender

4:41 pm on Feb 14, 2004 (gmt 0)

10+ Year Member



Is the index.htm readable for the web server? I'm no IIS expert so I'm not sure if the IIS is running with Administrator rights though.