Welcome to WebmasterWorld Guest from 35.175.120.174

Forum Moderators: bakedjake

Message Too Old, No Replies

redirecting requests and loging in new log

moving contents from an old location

     
8:16 am on Aug 31, 2003 (gmt 0)

Senior Member from GB 

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:Nov 15, 2001
posts:1858
votes: 68


On an Apache virtual server I have a subsite which was dumped into a directory in an existing domain and has been taking traffic from there since ....

I want to do something with that top domain now and want to move this content out into its own domain.

But there are people with bookmarks or links etc and there are images in various image message boards still being looked at ..

so the old content (images) are here

www.olddomain.com/whatever/whatever/image1.jpg

and I want to move them to here

www.newdomain.com/whatever/image1.jpg

I would like, at least for a while for requests for the first image to be served the image from the second location as the first will be removed.

But I dont want the logs from olddomain.com to include any more requests for these files or images etc ....

Any tips appreciated.

12:49 am on Sept 1, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Oct 8, 2002
posts:65
votes: 0


I think that if people are still requesting the images on the old domain, then the onlt way to remove them from the logs would be to grep them out afterwards, or add a directives to the vhost to not log for that directory..?

Aside from that, if they are on the same machine - you could symbolicly link the files so that the old domain images pointed to where they are on the new one... Or use an .htaccess solution.