Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 98636 invoked by uid 500); 27 Mar 2003 04:42:56 -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 98623 invoked from network); 27 Mar 2003 04:42:56 -0000 Received: from smtp013.mail.yahoo.com (216.136.173.57) by daedalus.apache.org with SMTP; 27 Mar 2003 04:42:56 -0000 Received: from cpe-24-221-173-112.ca.sprintbbd.net (HELO mhymant600x) (mhyman@24.221.173.112 with login) by smtp.mail.vip.sc5.yahoo.com with SMTP; 27 Mar 2003 04:43:06 -0000 Message-ID: <00a301c2f41b$78ff0b30$690afe0a@mhymant600x> From: "Michael Hyman" To: Date: Wed, 26 Mar 2003 20:43:54 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: [users@httpd] Quick question about domains Hi there, Our web site cgi software looks at the domain of the called-URL to determine whether you are coming from an internal site or an external site. Now a customer wants to get to our site using their dns name, and our address. This presents a problem for us, since now the called URL will be different, and our software will think the request is coming from a non-priviledged place. In other words: We are www.somedomain.com/cgi-bin/go.cgi?slkdjsdlkfj, with www.somedomain.com resolving to 192.168.1.1 They are www.otherdomain.com and they want to make a new DNS entry called theirwww.otherdomain.com and have it resolve to 192.168.1.1. So, how do I get apache to swap out the domain names? I have a feeling mod_rewrite is correct, but I am not sure. I appreciate the help on this...Michael --------------------------------------------------------------------- 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