From owner-freebsd-stable@FreeBSD.ORG Tue Mar 23 16:44:37 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F0EE16A4CE for ; Tue, 23 Mar 2004 16:44:37 -0800 (PST) Received: from mail.broadpark.no (mail.broadpark.no [217.13.4.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id A87D543D3F for ; Tue, 23 Mar 2004 16:44:36 -0800 (PST) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from kg-work.kg4.no (111.80-202-174.nextgentel.com [80.202.174.111]) by mail.broadpark.no (Postfix) with SMTP id 024EC7066 for ; Wed, 24 Mar 2004 01:44:36 +0100 (MET) Date: Wed, 24 Mar 2004 01:42:43 +0100 From: Torfinn Ingolfsen To: freebsd-stable@freebsd.org Message-Id: <20040324014243.75839158.torfinn.ingolfsen@broadpark.no> In-Reply-To: <4060D258.8010601@gopostal.ca> References: <405F2344.4050309@gopostal.ca> <405F3657.7080005@bgp4.net> <405F3B3E.6040404@gopostal.ca> <20040322194820.GA21648@happy-idiot-talk.infracaninophile.co.uk> <4060D258.8010601@gopostal.ca> X-Mailer: Sylpheed version 0.9.8a (GTK+ 1.2.10; i386-portbld-freebsd4.9) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq;m"_0v;~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: natd & virtual hosting X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Mar 2004 00:44:37 -0000 On Tue, 23 Mar 2004 16:12:08 -0800 "Eli K. Breen" wrote: > Just to wrap up this thread (although it has left the realm of > FreeBSD-specific) > > This worked perfectly! (Apache2 only) [.. lots of info about the Proxy module snipped...] I don't know if this is 1.3 specific, but I use this solution with Apache 1.3.x: ServerName somename.domain.example RewriteEngine on RewriteRule ^/$ http://server/ [P] where 'server' is a dns-resolvable name (or ip address). In another, the RewriteRule line looks like this: rewriteRule (.*) http://192.168.1.1/$1 [P] at the moment, I can't remember why this one is different. Also, I can't remember where I first found this mentioned (except that it is documented at the Apache web site). HTH -- Torfinn Ingolfsen, Norway