1

在为 ASP.NET Web 应用程序设置 runAllManagedModulesForAllRequests 后,所有使用 Helicon URL rewrite 重写其 URL 的 WebForms 不再通过回发调用接收其参数。

看起来这些参数在 Application_AuthenticateRequest Global.asax 处理程序中仍然可用,但在 URL 重写发生后它们就消失了。

关于如何在不撤消 runAllManagedModulesForAllRequests 设置的情况下解决此问题的任何提示?

4

1 回答 1

1

显然 Helicon 模块需要配置为在“早期请求处理”模式下处理 URL 重写以使用runAllManagedModulesForAllRequests设置。

这可以通过在 Helicon 的配置文件NotificationType=PREPROC_HEADERS开头设置标志来完成。httpd.conf

阅读更多: helicon docs , sitecoregadgets blogpost

于 2015-07-02T15:23:35.857 回答