Вопрос

Im working on a project where i am implementing a friendly url system using the url rewite module in ii7.

This is all good and works great.

My only issue is that webresources.axd and Telerik.Web.UI.WebResource.axd both have relative paths. This causes lots of issues when the url is http://domain.com/some_page_name/

<script src="/WebResource.axd?d=mJUUfJUeVsvUq18HY14aGg2&amp;t=634054669363345579" type="text/javascript"></script> 


<script src="/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&amp;compress=1&amp;_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a1247b7d8-6b6c-419f-a45f-8ff264c90734%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2010.1.519.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3afcd44c12-f50d-4937-b05d-1aa46b5c5b3e%3a16e4e7cd%3aed16cbdc" type="text/javascript"></script>

Is there anyway I can assign an absolute url to these resources?

Это было полезно?

Решение

Have you thoughts of using Telerik CDNfor this purpose? Thus the resources should be served from static urls from the Telerik Amazon CloudFront storage.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top