在vs2010环境下开发的站点,在ii7配置默认文档后,web.config文件会自动添加如下代码:

View Code
<system.webServer>
<defaultDocument>
<files>
<add value="welcom.aspx" />
</files>
</defaultDocument>
</system.webServer>

同理,如果不在iis上修改默认文档,而直接在config文件里面更改,一样会体现在iis。


而iis6则没有上述功能。

相关文章:

  • 2021-10-08
  • 2021-11-20
  • 2022-12-23
  • 2021-09-23
  • 2021-12-08
  • 2021-12-04
猜你喜欢
  • 2021-08-12
  • 2022-12-23
  • 2021-06-08
  • 2021-08-23
  • 2021-11-17
  • 2022-12-23
相关资源
相似解决方案