asp.net 通过web.config 设置默认页
<configuration> <system.webServer> <defaultDocument> <files> <clear /> <add value="index.aspx" /> <add value="Login.html" /> <add value="Default.htm" /> <add value="Default.asp" /> <add value="index.htm" /> <add value="iisstart.htm" /> <add value="default.aspx" /> </files> </defaultDocument> <directoryBrowse enabled="true" /> </system.webServer> </configuration>
喜欢的朋友请帮忙点个赞!!!