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

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

 

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

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。