开发者

Make index.html show instead of 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. Al开发者_Python百科l 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.


This is an IIS setting.

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


in the "Default Document" settings of your IIS you simply have to change the order of the "Default DOcuments" and make sure that index.html is above Default.aspx.

IIS6: http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/dc6eb1b4-9028-4308-9935-52b64edfad36.mspx?mfr=true

IIS7: http://technet.microsoft.com/en-us/library/cc753615(WS.10).aspx

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜