Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We have an IIS 6 on Windows 2008. We have multiple web sites on this server.

Two of those sites have the same physical path.
- One should have the Default.aspx page as default document ;
- The other one should have index_syfab.asp as default document, which simply does a redirection on Default.aspx?lid=4.

The problem is, if I add index_syfab.asp as default document in the second web site, it also adds it to the first. If I delete it from the first, it also deletes it from the second. How can I stop it from doing that ?

We don't have an URL rewriting module installed, so for now it's out of the question.

We use the exact same technique, with the exact same configuration, but on another server, with windows 2003 and IIS 5. And it works perfectly.

Thanks for your help

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

First thing first, though you have IIS 6 installed on Windows Server 2008, your Web Sites are configured on IIS 7.

Since both the Web Sites are pointed to the same physical location e.g. C:\inetpub\wwwroot the <defaultDocument> configuration is happening in the same web.config file which is located in C:\inetpub\wwwroot.

It was possible to have different defaultDocument configured in IIS 6, because the configuration was stored in Metabase.xml file.

share|improve this answer
    
Well, you're right. I guess I'm stuck with URL Rewriting. Thanks :( –  cosmo0 Aug 12 '10 at 13:08
    
Another question though : what's that about IIS6 and 7 ? –  cosmo0 Aug 12 '10 at 13:10
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.