IIS7: URL Rewrite - can it be used to hide a CDN path?

Posted by Wild Thing on Stack Overflow See other posts from Stack Overflow or by Wild Thing
Published on 2010-04-24T11:25:12Z Indexed on 2010/04/24 11:33 UTC
Read the original article Hit count: 216

Filed under:
|
|
|

Hi,

I am using Rackspace Cloud CDN (Limelight CDN) for my website. The URLs of the CDN are in the format http://cxxxxxx.cdn.cloudfiles.rackspacecloud.com/something.jpg

My domain is mydomain.com.

Can I use IIS URL rewriting to show http://cxxxxxx.cdn.cloudfiles.rackspacecloud.com/something.jpg as http://images.mydomain.com/something.jpg? Or is this impossible without the CDN setup accepting my CNAME?

If so, can you please help create the URL rewrite rule? (Sorry, don't know how to use regular expressions)

Thanks, WT

© Stack Overflow or respective owner

Related posts about iis7

Related posts about url-rewriting