IIS 5.1 not resolving Virtual Directory
I set up a Virtual Directory called 'Site'. I browse to http://localhost/Site/default.aspx, and it loads. However, when I click on anything on the page, say Page1.aspx, it goes to http://localhost/Page1.aspx instead of the expected http://localhost/Site/Page1.aspx.
In the source file, the relative paths are coded as 开发者_如何学Python'/Page1.aspx', for example, and it has worked in the past.
I'm using Win XP Pro SP3 and IIS 5.1. Any ideas on what might be causing this behavior?
The correct home page URL in this case should be:
http://localhost/default.aspx
What happens when you try that?
Try converting the virtual directory to an application.
The best workaround I found was using this little IIS utility, IISAdmin.NET, found at http://iisadmin.codeplex.com
精彩评论