码迷,mamicode.com
首页 > Web开发 > 详细

(转)web.config详解之在文件中配置网站默认页面

时间:2014-08-11 11:26:02      阅读:175      评论:0      收藏:0      [点我收藏+]

标签:style   io   文件   art   ar   html   htm   ad   

<configuration></configuration>中添加下面的配置

    <system.webServer>
        <defaultDocument>
            <files>
                <clear />
                <add value="index.aspx" />
                <add value="index.html" />
                <add value="Default.htm" />
                <add value="Default.asp" />
                <add value="index.htm" />
                <add value="iisstart.htm" />
                <add value="default.aspx" />
            </files>
        </defaultDocument>
    </system.webServer>

(转)web.config详解之在文件中配置网站默认页面,布布扣,bubuko.com

(转)web.config详解之在文件中配置网站默认页面

标签:style   io   文件   art   ar   html   htm   ad   

原文地址:http://www.cnblogs.com/wanshutao/p/3904224.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!