Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 72768 invoked by uid 500); 16 Apr 2003 02:02:13 -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 72755 invoked from network); 16 Apr 2003 02:02:13 -0000 Received: from 12-250-19-35.client.attbi.com (HELO mercury.petenet.com) (12.250.19.35) by daedalus.apache.org with SMTP; 16 Apr 2003 02:02:13 -0000 Received: from gemini ([10.143.84.20]) by mercury.petenet.com (8.12.9/8.12.8) with ESMTP id h3G22JOU012164 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Tue, 15 Apr 2003 21:02:21 -0500 (CDT) From: "Peter Ferrigan" To: "Apache List" Date: Tue, 15 Apr 2003 21:02:32 -0500 Message-ID: <000301c303bc$3f1128d0$14548f0a@gemini> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: [users@httpd] Rewrite help Good evening, all. I need some help with the mod_rewrite in Apache 1.3.27 (Solaris 9/Sparc). I've been presented with a problem where my company changed it's domain name. I need to force anything going to the old domain to the new one and I cannot do this with DNS (long story) Pretty much like this: Hostname.olddomain.com Needs to go to Hostname.newdomain.com I've tried redirects, but that doesn't take into account any directory that the user may have typed in. So, in an ideal world it would work like this: Hostname.olddomain.com/whateveritype will end up at hostname.newdomain.com/whateveritype Can anyone lend me a hand with this? Thanks in advance! - Peter --------------------------------------------------------------------- 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