I've added PeterD.Compress to the testing version of my Umbraco site, but it is causing javascript errors on the pages with templates that have c# coding (focus on the log in button on the log in page, some update panels). I think it's because the WebResource.axd javascript is getting picked up by the PeterD.Compress module.
I've tried adding WebResource.axd to the excluded paths on the PeterDCompress.config, but I'm not having any luck with that.
I tried <add path="WebResource.axd" /> and <add path="/WebResource.axd" /> and adding in some wildcards.
Excluding WebResource.axd (Umbraco 4.0.3)
I've added PeterD.Compress to the testing version of my Umbraco site, but it is causing javascript errors on the pages with templates that have c# coding (focus on the log in button on the log in page, some update panels). I think it's because the WebResource.axd javascript is getting picked up by the PeterD.Compress module.
I've tried adding WebResource.axd to the excluded paths on the PeterDCompress.config, but I'm not having any luck with that.
I tried <add path="WebResource.axd" /> and <add path="/WebResource.axd" /> and adding in some wildcards.
The site is running on Windows 2003 and IIS6
Thanks,
David
Hi David,
can you check this line in the web.config:
scriptResourceHandler enableCompression="false"
Do you have enableCompression set to false? If not, please try that.
Peter
Hi Peter, did have that set.
What I did find that worked was adjust the httphandlers in the web.config:
<remove verb="*" path="js.axd,css.axd"/>
<add verb="*" path="js.axd,css.axd" type="PeterD.Compress.CompressionHandler,PeterD.Compress"/>
<remove verb="*" path="ScriptResource.axd"/><add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<remove verb="*" path="WebResource.axd"/>
is working on a reply...