开发者

Setting the default application in IIS 7?

开发者 https://www.devze.com 2023-03-25 04:52 出处:网络
How do you the default application in IIS 7? I have the default web site node with several applications underneath it.

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).

0

精彩评论

暂无评论...
验证码 换一张
取 消