[ic] Re: Redirecting to new store

interchange-users@icdevgroup.org interchange-users@icdevgroup.org
Thu Aug 22 14:07:00 2002


Christopher Van Oosterhout writes: 

> 
> At 12:49 PM 8/22/02 -0500, tj@idzyn.net wrote:
>> Quoting Christopher VanOosterhout <chris@torresen.com>:
>> >
>> > I want everyone that is currently going to
>> > http://shop.oldserver.com/cgi-bin/oldstore/partnumber
>> > to be automatically forwarded to the new store:
>> > http://shop.newserver.com/cgi-bin/newstore/partnumber
>> >
>> > The interchange server will continue to run on the old server .. just 
>> in
>> >
>> > case, but I want to move the majority of users to the new store ... on
>> > the
>> > new server ... and I would like it to be as automated as possible.
>> >
>> > Notice that the new store is on a new server and has a new catalog 
>> name,
>> >
>> > but all of the part numbers will remain the same.
> 
>> Why not simply redirect the page to the new one?
> 
> That sounds good ... but I am not sure if I understand how to implement 
> this as it relates to Interchange.  Could you possibly give me an example. 
>  If I created an .htaccess file in the /cgi-bin/ directory that said: 
> 
> Redirect /cgi-bin/oldstore http://www.newserver.com/cgi-bin/newserver

You probably want sth. like that: 

RedirectMatch ^/cgi-bin/oldstore(.*)
http://www.newserver.com/cgi-bin/newserver$1 

> 
> Can you think of any Interchange specific reasons why this would not work? 
> 

If the final URL is OK, Interchange wouldn't bother. 

Ciao
      Racke 

 

-- 
Prolific Interchange Consulting (Excellent German Quality !).
Take a look at Materialboerse (http://www.materialboerse.de/), WITT
(http://www.witt-weiden.de/), Boxmover (http://shop.boxmover.ch/) or
Passionshop (http://www.passionshop.com/racke). Need a shop ? Contact us.