Mirror Images Directory with .htaccess
Have files in a subdirectory that reference the image directory within it (subdirectory/images), I want the image requests to be directed to the image directory on the root folder (/images), instead of the images and image folders in the subdirectory. So Basically mirror it so I don't have to have two copies of the same files. I tried modrewrite, didn't get it to work. Thanks in advance!
RewriteRule images/^(.*) http://www.domainname.com/images/^(.*)
Last edited by bluecube : 03-28-2008 at 01:07 AM.
|