From owner-freebsd-isp Sat Aug 25 6:55:53 2001 Delivered-To: freebsd-isp@freebsd.org Received: from terra.ombra.org (terra.ombra.org [65.102.210.226]) by hub.freebsd.org (Postfix) with ESMTP id AA8B237B40A for ; Sat, 25 Aug 2001 06:55:50 -0700 (PDT) (envelope-from jgiacomoni@terra.ombra.org) Received: by terra.ombra.org (Postfix, from userid 1000) id EE7DA5D3C; Sun, 26 Aug 2001 07:54:39 -0600 (MDT) Date: Sun, 26 Aug 2001 07:54:39 -0600 From: John Giacomoni To: freebsd-isp@freebsd.org Subject: Re: apache jail Message-ID: <20010826075439.B76330@terra.ombra.org> References: <20010825113754.A1025@homer.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from "Andrew Matheson" on Sat, Aug 25, 2001 at 02:57:48AM Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I was going to suggest this as well, and have succeded in making this work between different hosts. however there is no real need to have different hosts. you can simply use different ports. Also, by using unprivileged ports, you get the ability to fire up the jailed vhosts without root. John G > I've never tried this before and have no idea if it will work, but you may be able to do the following: > > 1) Set up each apache virtual host in its own jail using internal network ip addresses. You'd need to have one apache per jail, which I think is what you're trying to accomplish. > > 2) Set up apache running on your main ip address. Configure VirtualHost directives for each of your domains so that apache acts as a proxy server, forwarding the requests to the appropriate jail ip addresses. > > Good Luck, > Andrew > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message -- Code is obstinate like a two year old... with logic To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message