We've added a section to the web.config which enables images to be retreived from our CDN. However when we add this some of the javascript on the 404 and 500 pages gets broken up and added just under the body tag. Its only these pages, everything else appears to work well. Any ideas?


<rule name="ImageCDN" preCondition="NonAdmin" enabled="true" stopProcessing="false">

<match filterByTags="A,Img" pattern="/shop/images/(.*\.jpg)" />

<action type="Rewrite" value="https://images.mycdn.com/images/{tolower:{R:1}}" />

in MultiStore by (150 points)

Please log in or register to answer this question.