MOD Rewrite Mask for Image URL

Posted by user345426 on Stack Overflow See other posts from Stack Overflow or by user345426
Published on 2010-06-05T07:37:00Z Indexed on 2010/06/05 7:42 UTC
Read the original article Hit count: 294

Filed under:

Okay so I am launching a cloned e-commerce site. I want to create a rewrite rule for the image folder for the second site to fetch images from the first site.

RewriteRule ^alice.gif$ www.rhinomart.com/images/h_home.gif

When I go to alice.gif directly through the browser it simply redirects me to the rhinomart.com URL and image. How do I prevent the redirect from occurring? When I go to http://www.acnbiz.net/alice.gif it should fetch alice.gif directly from Rhinomart.com/images and not redirect. is it possible???

© Stack Overflow or respective owner

Related posts about mod-rewrite