使index.html显示而不是Default.aspx? [英] Make index.html show instead of Default.aspx?

查看:71
本文介绍了使index.html显示而不是Default.aspx?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在一个aspx网站上工作,在准备好启动之前,我们不希望向用户显示该网站.Default.aspx似乎对我的index.html文件具有更大的威力".我要做的就是默认显示index.html,在网站上工作时,我们可以导航到Default.aspx并从那里开始工作.

We are working on an aspx site that we would like to not show users until we are ready to launch. The Default.aspx seems to have more "power" over my index.html file. All I would like to do is show the index.html by default and when working on the site, we can navigate to Default.aspx and work from there.

推荐答案

这是IIS设置.

在IIS 7或更高版本中,使用默认文档"工具.在IIS 6或更低版本的IIS 6中,使用默认文档"选项卡.

In IIS 7 or above, use the Default Document tool. In IIS 6 or below, use the "Default Documents" tab.

这篇关于使index.html显示而不是Default.aspx?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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