Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

htaccess image redirect?

Status
Not open for further replies.

rye8261

Technical User
Jul 6, 2003
359
0
0
US
Is it possible to have all images on one folder redirected to another folder without breaking the images?

Example, say I have these two images below:

I'd like to make them redirect to another server like this:

Basically all images found inside of the imagefolder/ would be moved to the new server and I'd just like the old server to redirect the images to the folder on the new server. Is that possible?
 
You can do it between two linux servers using rsync.

rsync -vrae /path/ dest_server:/path/

and in your case it should look like this:

rsync -vrae /tmp/imagefolder/ 64.95.26.31:/tmp/imagefolder/


Hope it helps;

--ilker
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top