httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph Cheng" <cheng...@gmail.com>
Subject Re: [users@httpd] Best way of forwarding traffice from Apache 1.3 to 2.0
Date Wed, 08 Nov 2006 22:05:10 GMT
thx all for the suggestions......this one worked

RewriteEngine on
RewriteRule   ^/(.+)  /temporary.html

On 11/8/06, Boyle Owen <Owen.Boyle@swx.com> wrote:
> > -----Original Message-----
> > From: Joseph Cheng [mailto:cheng.je@gmail.com]
> > Sent: Tuesday, November 07, 2006 9:31 PM
> > To: users@httpd.apache.org
> > Subject: [users@httpd] Best way of forwarding traffice from
> > Apache 1.3 to 2.0
> >
> > Hello I have done basic url forwarding before but I am trying to see
> > how to do some thing different now. I have old apache 1.3 server and
> > brand new 2.0 server. Right now the 1.3 server is live with http
> > clients hitting it. I am trying to see what would be best way to
> > direct _all_ http clients going to 1.3 server to load one html
> > document in the 1.3 docroot telling them to go to the 2.0 server
> > address instead. It is tricky because previous web site visitors might
> > have bookmarked various very old documents so I am stuck trying to
> > think of a way to point them all to that one html document if they
> > type any url containing the *domain.com* text. Any ideas? TIA!
>
> What did you try already? What happened?
>
> As I read it, you want to put up a page that says, "Site has moved"
> rather than redirect users (so that the browser reloads the new site).
> Correct?
>
> Something as simple as;
>
> RedirectMatch ^/.*$ /that_one_html_doc.html
>
> ...should work (see docs for details).
>
> Rgds,
> Owen Boyle
> Disclaimer: Any disclaimer attached to this message may be ignored.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message