I was hoping one of the .htaccess mod_rewrite gurus can provide me with some code/guidance. I am starting to leverage a Content Delivery Network (CDN), and would like any requests made to my www.domain.com/images folder to be remapped to cdn.domain.com/images. Is there a quick/easy way that I can add this rule?
I'd ideally want to do this to several of my images directories. What is the best way to do this? From the root/.htaccess? Or from an .htaccess file placed within the affected directory itself?