IIS7中的httpmodule如何不处理非asp.net请求

http://weblog.west-wind.com/posts/2012/Oct/25/Caveats-with-the-runAllManagedModulesForAllRequests-in-IIS-78

http://www.iis.net/learn/get-started/introduction-to-iis/iis-modules-overview

 

<modules runAllManagedModulesForAllRequests="false">
<add name="authFilter" type="Jet.Com.ReqFilter,Jet.Com" preCondition="managedHandler"/>//必须加上preCondition属性
</modules>

posted on 2014-02-25 22:10  善为  阅读(212)  评论(0编辑  收藏  举报