I'm upgrading a server that runs a classic asp website from iis5 to iis7
On the old server, there are sites set up that pass a querystring in the default document.
(i.e. Different domain names all point to the same folder and the default document passes the company in the querystring.)
IIS 7 says I can't have a querystring when specifying a default document.
What can I do to get around this? The existing classic asp site works using this method.
I've seen some sites recommend setting the default document directly in the web.config file (which would then allow me to specify the querystring), but I have the following questions about that:
I'm going to have a lot of virtual directories pointing to the same place so would there be a web.config file for each VD? If so, then where would these be located?
following Scott's answer, I found a good article here: Understanding iis7 Configuration Delegation
I had a lot of difficulty getting this working for my multiple sites pointing to a single physical folder on the web server (i.e. for a multi-tenant app).
If that's what you're after, see this related question: setting the default website for multiple path values in web.config