buunguyen / combres

ASP.NET and MVC performance optimization library ⛺
Other
123 stars 36 forks source link

How to config in IIS when I use clear tag in system.webServer-handlers #26

Closed anbinhtrong closed 10 years ago

anbinhtrong commented 10 years ago

I use combres in .NET 3.5 and I successfully intergrate combres in IIS. But my main project use <clear /> in system.webServer <system.webServer>
<handlers> <remove name="WebServiceHandlerFactory-Integrated" /> <remove name="ScriptHandlerFactory" /> <remove name="ScriptHandlerFactoryAppServices" /> <remove name="ScriptResource" /> <clear /> <!--......--> <remove name="UrlRoutingHandler" /> </handlers> <validation validateIntegratedModeConfiguration="false" /> <modules runAllManagedModulesForAllRequests="true"> <remove name="UrlRoutingModule" /> <remove name="ScriptModule" /> <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add name="UrlRewrite" type="UrlRewritingNet.Web.UrlRewriteModule" /> <add name="UrlRoutingModule" preCondition="" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> </modules> </system.webServer> When I use IIS to host my project, compress files aren't found. May you help me? Thanks a lot.