设置默认首页
<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <defaultDocument> <files> <clear /> <add value="index.asp" /> <add value="Default.htm" /> </files> </defaultDocument> </system.webServer> </configuration>
来自:https://www.landui.com/help/show-8311.html
允许目录浏览
<?xml version="1.0" encoding="utf-8"?> <configuration> <system.webServer> <directoryBrowse enabled="true" /> </system.webServer> </configuration>
其它设置参考:http://www.cnblogs.com/enfp/articles/7718264.html