Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 66367 invoked by uid 500); 11 Jan 2002 00:03:10 -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 66348 invoked from network); 11 Jan 2002 00:03:10 -0000 Received: from 12-253-27-141.client.attbi.com (HELO mybox.rdlg.net) (12.253.27.141) by daedalus.apache.org with SMTP; 11 Jan 2002 00:03:10 -0000 Received: from mybox.rdlg.net (nomad@localhost [127.0.0.1]) by mybox.rdlg.net (8.12.1/8.12.1/Debian -5) with ESMTP id g0B03HUb008098 for ; Thu, 10 Jan 2002 17:03:17 -0700 Received: (from nomad@localhost) by mybox.rdlg.net (8.12.1/8.12.1/Debian -5) id g0B03GU8008096 for users@httpd.apache.org; Thu, 10 Jan 2002 17:03:16 -0700 Date: Thu, 10 Jan 2002 17:03:16 -0700 From: "Robert L. Harris" To: Apache Subject: Vhosts? Message-ID: <20020110170316.A8077@rdlg.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.22i X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I'm trying to set up something a bit odd. I have 2 web servers. One to be publicly visable, one to be in a dark hole, but the first can see the second. I have this for starters: NameVirtualHost site1.company.com ServerName site1.company.com ServerAdmin nomad@rdlg.net DocumentRoot /var/www1/html # Redirect / http://holeserver.company.com RewriteRule ^.*holeserver.*company.com/(.*) http://site1.company.com/$1 [L,R] # ErrorLog logs/site1 CustomLog logs/site1.custom common The theory is that if I got to the virtual server on my public server it'll access and serve up the internal server. This is working well except it sends out the URL for the internal server which is then broken. I tried to use the RewriteRule to fix this, but it's not rewriting. Help? :wq! --------------------------------------------------------------------------- Robert L. Harris | Micros~1 : Senior System Engineer | For when quality, reliability at RnD Consulting | and security just aren't \_ that important! DISCLAIMER: These are MY OPINIONS ALONE. I speak for no-one else. FYI: perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);' --------------------------------------------------------------------- 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 For additional commands, e-mail: users-help@httpd.apache.org