【发布时间】:2015-02-04 15:22:36
【问题描述】:
使用kpm pack 制作了一个包
尝试在经典管道模式下设置 IIS7
我一直收到
HTTP Error 403.14 - Forbidden
The Web server is configured to not list the contents of this directory.
已经尝试过
- 将 aspnet_isapi.dll 添加到
web.config/system.webServer/handlers部分 - 为
web.config/system.webServer/handlers部分添加runAllManagedModulesForAllRequests="true"
ISAPI 和 CGI 限制中的所有 aspnet_isapi.dll 都是允许的
是否可以在 IIS 经典模式管道下托管 vNext ASP.NET 应用程序?
【问题讨论】:
-
我只能让它在集成模式下工作。为什么要尝试使用经典?我也认为错误消息是:由于 Web 服务器上的 ISAPI 和 CGI 限制列表设置,无法提供您请求的页面。
-
我也让它只在集成模式下工作。
-
@yhax 经典模式支持是我们的环境要求。更新了问题。
标签: iis-7 httphandler asp.net-core asp.net-core-mvc