Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more  

Go Back   Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more > Web Design Forum > HTML / CSS
User Name
Password

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 03-27-2008, 04:00 PM   #1 (permalink)
bluecube
Junior Member
 
Join Date: Mar 2008
Posts: 1
Question 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.
bluecube is offline   Reply With Quote
Sponsored Links
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Points Per Thread View: 1.00
Points Per Thread: 11.00
Points Per Reply: 5.00



» Sponsors

» Links

» Affiliates
Web Hosting
Marketing Find
Merchant Select
SiteMap Builder
Host Compare
Dedicated Servers

» Links

» Sports Network
Paintball Forum
Football Forum
Hockey Forum
Golf Forum
Boxing Forum
Lacrosse Forum
Baseball Forum
SnowBoarding Forum
Soccer Forum
MMA Forum


All times are GMT -4. The time now is 05:58 PM.



LinkBacks Enabled by vBSEO 3.0.0 RC8
Webmaster Forums