asp.net web.config 配置默认首页

 1 <?xml version="1.0" encoding="UTF-8"?>
 2 <configuration>
 3     <system.webServer>
 4         <defaultDocument>
 5             <files>
 6                 <remove value="default.aspx" />
 7                 <remove value="iisstart.htm" />
 8                 <remove value="index.html" />
 9                 <remove value="index.htm" />
10                 <remove value="Default.asp" />
11                 <remove value="Default.htm" />
12                 <add value="login.html" />
13             </files>
14         </defaultDocument>
15     </system.webServer>
16 </configuration>
默认首页

 

posted @ 2019-01-11 10:40  lovewl  阅读(1745)  评论(0编辑  收藏  举报