Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 234 invoked by uid 500); 27 Mar 2003 04:43:16 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 209 invoked from network); 27 Mar 2003 04:43:16 -0000 Received: from relay.highway.ru (217.106.229.253) by daedalus.apache.org with SMTP; 27 Mar 2003 04:43:16 -0000 Received: from [195.170.58.66] (helo=medentsev) by relay.highway.ru with asmtp (Exim 4.12) id 18yPEb-0002Bp-00 for users@httpd.apache.org; Thu, 27 Mar 2003 07:43:25 +0300 Message-ID: <000c01c2f41b$6d518ab0$5a0114ac@medentsev> Reply-To: "Serge Medentsev" From: "Serge Medentsev" To: References: <3E825668.FE4A2C62@sasktel.net> <001d01c2f404$c2955bd0$0200a8c0@triplehelix> <3E825D2B.D2CE05F@sasktel.net> <003301c2f406$5f46ece0$0200a8c0@triplehelix> Date: Thu, 27 Mar 2003 07:43:31 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] Redirect?? ----- Original Message ----- From: "Vikram" To: Sent: Thursday, March 27, 2003 5:12 AM Subject: Re: [users@httpd] Redirect?? > Cool! This is very easy. Create a index.html inside /webmail directory on > x.x.x.101 that contains following: > > CONTENT="5;URL=http://www.webmail_on_x.x.x.102"> > If you have PHP on you "old" server you can do redirection in a much easier and more elegant way by using header() function. Even better if you can modify httpd.conf (or .htaccess) file to include "ErrorDocument 404 /404.php" directive and making 404.php file to include the following lines: Now your "old" server will redirect ANY request (even something like "http://bla-bla-bla/read.php?f=1&i=15608&t=15608") to the new server making redirection absolutely transparent to the end-user. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See 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