IIS6 Compression breaks edit-mode

Vote:
 

Hi,

We have implemented IIS compression on our intranet EPIServer 5 R2 + Community server. This is done according to this blog post - http://blog.sallarp.com/gzip-static-episerver-iis-6/

This gave us 25% better performance - but the problem is now that when we open admin or edit mode the layout is corrupted - probaly because the .css files are not processed correctly etc.

How do I setup the http handler part of admUI in web.config......

 

<location path="admUI">
    <system.web>
      <httpHandlers>
        <clear />
        <!-- This section is copied from root web.config -->
        <add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="true" />
        <add path="*.aspx" verb="*" type="System.Web.UI.PageHandlerFactory" validate="true" />
        <add path="*.ashx" verb="*" type="System.Web.UI.SimpleHandlerFactory" validate="true" />
        <add path="*.asmx" verb="*" type="System.Web.Services.Protocols.WebServiceHandlerFactory, System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false" />
        <add path="*.ascx" verb="*" type="System.Web.HttpForbiddenHandler" validate="true" />
               <add path="*" verb="*" type="EPiServer.Web.StaticFileHandler, EPiServer" validate="true" />  
      </httpHandlers>
      <httpRuntime  executionTimeout="9600" maxRequestLength="20480" />
      <pages>
        <controls>
          <add tagPrefix="EPiServerUI" namespace="EPiServer.UI.WebControls" assembly="EPiServer.UI" />
          <add tagPrefix="EPiServerScript" namespace="EPiServer.ClientScript.WebControls" assembly="EPiServer" />
          <add tagPrefix="EPiServerScript" namespace="EPiServer.UI.ClientScript.WebControls" assembly="EPiServer.UI" />
        </controls>
      </pages>
      <globalization requestEncoding="utf-8" responseEncoding="utf-8" />
      <authorization>
        <allow roles="OurbookGlobalEditors, OurbookGlobalAdmins" />
        <deny users="*" />
      </authorization>
    </system.web>
  </location>

<location path="admUI">    
  <system.web>
      <httpHandlers>
        <clear />
        <!-- This section is copied from root web.config --> 
        <add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="true" />        
        <add path="*.aspx" verb="*" type="System.Web.UI.PageHandlerFactory" validate="true" />      
        <add path="*.ashx" verb="*" type="System.Web.UI.SimpleHandlerFactory" validate="true" />    
        <add path="*.asmx" verb="*" type="System.Web.Services.Protocols.WebServiceHandlerFactory,System.Web.Services,Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false" />        
        <add path="*.ascx" verb="*" type="System.Web.HttpForbiddenHandler" validate="true" />              
        <add path="*" verb="*" type="EPiServer.Web.StaticFileHandler, EPiServer" validate="true" />        
      </httpHandlers>

      <httpRuntime  executionTimeout="9600" maxRequestLength="20480" />      
        <pages>       
           <controls>      

               <add tagPrefix="EPiServerUI" namespace="EPiServer.UI.WebControls" assembly="EPiServer.UI" />      

               <add tagPrefix="EPiServerScript" namespace="EPiServer.ClientScript.WebControls" assembly="EPiServer" />  

               <add tagPrefix="EPiServerScript" namespace="EPiServer.UI.ClientScript.WebControls" assembly="EPiServer.UI" />                             </controls>      

          </pages>    

     <globalization requestEncoding="utf-8" responseEncoding="utf-8" />    

       <authorization>      

         <allow roles="OurbookGlobalEditors, OurbookGlobalAdmins" />    

         <deny users="*" /> 

       </authorization>  

    </system.web> 

 </location>

#36645
Feb 05, 2010 13:20
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.