【问题标题】:error: The Web server is configured to not list the contents of this directory错误:Web 服务器配置为不列出此目录的内容
【发布时间】:2014-03-10 17:40:16
【问题描述】:

我已将我的 ASP.NET MVC Web 应用部署到 IIS 7 中。当我尝试访问该 Web 应用时,出现以下错误:

The Web server is configured to not list the contents of this directory.

如何解决此问题以访问网络应用的页面。我不想让最终用户浏览网络应用的目录。

请问有什么绝妙的主意吗?

【问题讨论】:

    标签: asp.net asp.net-mvc iis iis-7


    【解决方案1】:

    你可以试试这个。

    打开 iis -> 选择网络应用程序 -> 转到功能视图 -> 选择目录浏览 -> 启用它

    【讨论】:

      猜你喜欢
      • 2013-04-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-06-09
      • 1970-01-01
      • 1970-01-01
      • 2015-02-05
      相关资源
      最近更新 更多