We have a typical setup in IIS for our webapp with virtual dirs for different projects:
- www.webapp.com (Website)
- project1 (virtual dir)
- project2 (virtual dir)
- project3 (virtual dir)
The webapp has login.aspx as a default document, as do all the virtual dirs. Now, I need a different default document (index.aspx) only for the www.webapp.com website. The virtual dirs will continue to use login.aspx and only that.
EDIT: All virtual dirs point to the same physical directory. If I change the default document for www.webapp.com, it is also changed for all underlying virtual dirs.
This used to be easy in IIS 6, but in IIS 7.5 I am unsuccessful to implement this.
I think I need to alter applicationhost.config by adding location tags, but I have no clue how to start. Can someone point me in the right direction?