在IIS 7中设置默认应用程序? [英] Setting the default application in IIS 7?

查看:255
本文介绍了在IIS 7中设置默认应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您如何在IIS 7中使用默认应用程序? 我有默认的网站节点,下面有几个应用程序. 每个应用程序均已加载其默认文档,如果我将浏览器指向

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

它工作正常,可以解析为IIS设置中设置的应用默认文档.

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

它将自动转到 http://server/appName

一个警告是默认网站的根目录是c:\ inetpub \ wwwroot,因为我的应用程序位于c:\ websites \ app1,app2等...

A caveat is that the default web site's root is c:\inetpub\wwwroot where as my applications are located in c:\websites\app1,app2,etc...

推荐答案

您可以在其中放置index.html文件,并在其中添加元重定向.

You could just put an index.html file in there with a meta redirect in it.

这篇关于在IIS 7中设置默认应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆