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>