Last post Aug 22, 2008 06:58 PM by detroit_
Jun 08, 2008 06:09 AM|kenpachi|LINK
Why is this setting not working? I'm running IIS 5.1 on WinXP Pro and use standard names for the homepage e.g "Default.aspx" and when I load the site it does not automatically load the "Default.aspx" page. When I reference the homepage with links like <a
href="/">Home Page</a> It just gives me a 404 error. I have to use a URL rewriter to redirect requests for "/" to Default.aspx. I have enabled default documents in the IIS settings and I also have "Default.aspx" listed in there. Anyone have any ideas?
Jun 08, 2008 07:29 AM|HosamKamel|LINK
the default document should work for you , just make sure that the document name is list correctly in the default document on IIS virtual directory and move it to be the first one.
and tell me one more thing what happened when you type just the URL without any page ? what error ?
Jun 08, 2008 03:33 PMemail@example.com|LINK
IIS help is at www.iis.net, same login as here.
Jun 08, 2008 09:37 PM|kenpachi|LINK
I moved the Default.aspx to be the first entry in the default document settings and still doesn't work. When I load the site using just the domain name, no page specified, I get a 404 resource cannot be found error.
HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /
Jun 08, 2008 10:05 PM|HosamKamel|LINK
It seems that it's a problem in the URL rewriting you use.
/ ===> it should be your domain name only
Aug 19, 2008 10:59 AM|suasua|LINK
Aug 22, 2008 06:58 PM|detroit_|LINK
I had the same problem with the default site in IIS and so I created a new site and then it worked fine. Something weird must happen to the default site when using IIS on XP