How do you the default application in IIS 7? I have the default web site node with several applications underneath it. Each application has its default document loaded and if I point my browser to
http://server/appName
It works fine, it resolves to that apps default document set in the IIS settings.
How can I set it so that if I go to
http://server
It will automatically go to http://server/appName
A caveat is that the default web site's root is c:\inetpub\wwwroot where as my applications ar开发者_Python百科e located in c:\websites\app1,app2,etc...
You could just put an index.html
file in there with a meta redirect in it.
I asked the same question on Server Fault, and figured out that you can change the physical path of the default web site (see my answer).
精彩评论