Hello,
I have an IIS 5.0 Web server running MS Windows 2000 SP3. I am not sure if the intermittent problem I have is something that I can work around or is a defect in MS IIS 5.0 or is a general problem with using relative URLs.
My Web site uses the IIS Redirect To URL feature. For example, if IIS is configured to to redirect to "/website", a person who visits " is automatically redirected to "
This has been working well for several years. However, I am thinking the redirect feature may have something to do with the problem.
Intermittently (once a week or perhaps even less often), someone browsing my web site clicks on a relative link on a page that lives in a subfolder from the root and is taken to the destination URL in the root rather than the current folder.
For example, let's say both a.asp and b.asp live in a folder called "website" and a.asp has the anchor tag:
<a href="b.asp">b</a>
Sometimes when the "b" link is taken, the browser is taken to b.asp in the root folder instead of b.asp in the current or "website" folder. This generates a 404_Object_Not_Found error and to the person browsing the web site, it looks like the link is broken.
This happens to very few web site visitors but when it does, it appears to happen fairly often to that same visitor. For example, if the visitor comes back several days later, it is likely to happen again but not necessarily with the same links. With no changes to the web site, the links that failed days before work and other links fail. Is this a timing issue?
Somehow the current folder information is lost and either IIS mistakenly sends the browser to the parent folder or IE asks for the wrong URL.
I have searched through the documentation and the Internet but have only found a resolution to a problem with redirects that was solved by Service Pack 3, which I have.
Any suggestions on searching or other help would be greatly appreciated.
Richard
I have an IIS 5.0 Web server running MS Windows 2000 SP3. I am not sure if the intermittent problem I have is something that I can work around or is a defect in MS IIS 5.0 or is a general problem with using relative URLs.
My Web site uses the IIS Redirect To URL feature. For example, if IIS is configured to to redirect to "/website", a person who visits " is automatically redirected to "
This has been working well for several years. However, I am thinking the redirect feature may have something to do with the problem.
Intermittently (once a week or perhaps even less often), someone browsing my web site clicks on a relative link on a page that lives in a subfolder from the root and is taken to the destination URL in the root rather than the current folder.
For example, let's say both a.asp and b.asp live in a folder called "website" and a.asp has the anchor tag:
<a href="b.asp">b</a>
Sometimes when the "b" link is taken, the browser is taken to b.asp in the root folder instead of b.asp in the current or "website" folder. This generates a 404_Object_Not_Found error and to the person browsing the web site, it looks like the link is broken.
This happens to very few web site visitors but when it does, it appears to happen fairly often to that same visitor. For example, if the visitor comes back several days later, it is likely to happen again but not necessarily with the same links. With no changes to the web site, the links that failed days before work and other links fail. Is this a timing issue?
Somehow the current folder information is lost and either IIS mistakenly sends the browser to the parent folder or IE asks for the wrong URL.
I have searched through the documentation and the Internet but have only found a resolution to a problem with redirects that was solved by Service Pack 3, which I have.
Any suggestions on searching or other help would be greatly appreciated.
Richard