简体   繁体   中英

Why does IIS 7 strip request parameters on Web Forms postback with rewritten urls (Helicon) when RAMMFAR is set?

After settings runAllManagedModulesForAllRequests for a ASP.NET web app all WebForms that have their URLs rewritten with Helicon URL rewrite no longer receive their parameters via postback calls.

It looks like these parameters are still available in Application_AuthenticateRequest Global.asax handler, but they are gone right after URL rewrite happens.

Any hints on how to solve this problem without undoing runAllManagedModulesForAllRequests setting?

Apparently Helicon module needs to be configured to handle URL rewrites in "Early Request Processing" mode to work with runAllManagedModulesForAllRequests setting.

This can be done by setting NotificationType=PREPROC_HEADERS flag at the beginning of Helicon's httpd.conf config file.

Read more: helicon docs , sitecoregadgets blogpost

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM