[thelist] redirect all traffic to new server

Dave Preston caffiend at simianbrotherhood.org
Mon Oct 29 19:48:11 CST 2001


Hey Richard,

sounds like Apache's mod_rewrite'll do the trick for you. Once you have
it running, shouldn't cause any problems deleting your web tree on the
old server.

Dave

http://httpd.apache.org/docs/misc/rewriteguide.html



On Tue, Oct 30, 2001 at 02:22:12AM +0100, Richard Bennett wrote:
> Hi,
> I have two old servers, that are still accessed frequently from bookmarks,
> and I would like to redirect all the traffic to my new server now.
> I would also want to send the url the user tried to access, with the
> redirect, so I know what page to send the user to on the new server.
> 
> All servers are running Apache, and PHP.
> 
> As an example, a user might type in :
> http://www.richardinfo.f2s.com/dynapi/php/examples.html
> 
> I want them to arrive at :
> http://www.richardinfo.com/examples/php/examples.html
> 
> Could I completely empty the old server, and have apache route all traffic
> to the new server, showing the original URL as referral url?
> 
> Thanks,
> Richard.
> 
> 
> 
> 
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt ! 
> 




More information about the thelist mailing list