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

asp.net设置默认打开页面,Web.config,defaultDocument

时间:2014-05-15 02:21:15      阅读:448      评论:0      收藏:0      [点我收藏+]

标签:style   blog   class   code   java   c   

  The web.config file can be used to set a default document, or list of default documents for your website. Web.config can be used to change the default document (page) for an entire site, or on a directory by directory basis. The default page may be a .php, .asp, .htm, .aspx, .cfm, or any other file type handled by the web server.

  

bubuko.com,布布扣
 1 <configuration>
 2 
 3   <system.webServer>
 4 
 5     <defaultDocument>
 6       <files>
 7         <clear />
 8         <add value="index.asp" />
 9       </files>
10     </defaultDocument>
11 
12   </system.webServer>
13 
14 </configuration>
bubuko.com,布布扣

 

微软IIS知识链接:http://www.iis.net/configreference/system.webserver/defaultdocument

CSDN博文:http://blog.csdn.net/happymagic/article/details/8824609

 

Lionden 2014年5月14日

E-mail:hsdlionden@hotmail.com

转载请注明原文地址和博客园Liondenhttp://www.cnblogs.com/lionden/

bubuko.com,布布扣

asp.net设置默认打开页面,Web.config,defaultDocument,布布扣,bubuko.com

asp.net设置默认打开页面,Web.config,defaultDocument

标签:style   blog   class   code   java   c   

原文地址:http://www.cnblogs.com/lionden/p/3728716.html

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