开发者

Assigning an absolute url to webresources.axd and Telerik.Web.UI.WebResource.axd

开发者 https://www.devze.com 2023-01-07 09:46 出处:网络
Im working on a project where i am implementing a friendly url system using the url rewite module in ii7.

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="/Web开发者_如何转开发Resource.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.

0

精彩评论

暂无评论...
验证码 换一张
取 消