Re: [users@httpd] Best way of forwarding traffice from Apache 1.3 to 2.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



thx all for the suggestions......this one worked

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

On 11/8/06, Boyle Owen <Owen.Boyle@xxxxxxx> wrote:
> -----Original Message-----
> From: Joseph Cheng [mailto:cheng.je@xxxxxxxxx]
> Sent: Tuesday, November 07, 2006 9:31 PM
> To: users@xxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux