0
我在.NET 4.0 Web應用程序中使用httpModule來重寫URL。本地,這工作正常。但是將它移出給主機,它根本不會被解僱。爲什麼我的httpModule BeginRequest不會觸發?
我設立在網絡配置如下......
<httpModules>
<add type="PageLoader" name="PageLoader"/>
</httpModules>
我還添加了此作爲一種嘗試,但它沒有工作......
<modules runAllManagedModulesForAllRequests="true">
<add type="PageLoader" name="PageLoader" preCondition="managedHandler" />
</modules>