Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 48602 invoked by uid 500); 13 May 2003 16:05:01 -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 48539 invoked from network); 13 May 2003 16:05:00 -0000 Received: from ny2.fastmail.fm (HELO smtp.us2.messagingengine.com) (66.111.4.3) by daedalus.apache.org with SMTP; 13 May 2003 16:05:00 -0000 Received: from www.fastmail.fm (server1.internal [10.202.2.132]) by server2.messagingengine.com (Postfix) with ESMTP id 31DC65EAB2 for ; Tue, 13 May 2003 12:04:58 -0400 (EDT) Received: from 127.0.0.1 ([127.0.0.1] helo=www.fastmail.fm) by messagingengine.com with SMTP; Tue, 13 May 2003 12:04:58 -0400 X-Epoch: 1052841898 X-Sasl-enc: MoRmty8Ep5RsVZBQM4awRw Received: from usager70-65.hec.ca (usager70-65.hec.ca [132.211.70.65]) by www.fastmail.fm (Postfix) with ESMTP id C16A1217ED for ; Tue, 13 May 2003 11:35:04 -0400 (EDT) Date: Tue, 13 May 2003 11:34:41 -0400 (=?ISO-8859-1?Q?Est_=28heure_d'=E9t=E9=29?=) From: Joshua Slive To: users@httpd.apache.org In-Reply-To: <7A4ADADFC8AFF0478D47F63BEDD57CE30CDF77@gpmail.gphq.genpathpharma.com> Message-ID: References: <7A4ADADFC8AFF0478D47F63BEDD57CE30CDF77@gpmail.gphq.genpathpharma.com> X-X-Sender: slive@www.fastmail.fm MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] "Fake" virtual hosts On Tue, 13 May 2003, Dmitri Bichko wrote: > Hi, > > Is it possible to set up two instances of Apache on the same IP and on > the same port to handle requests to two different names? In other > words, rather than having two virtual servers on the same instance > handling alias1.mydomain.com and alias2.mydomain.com, I want them to go > to two different servers - is this possible? Only by using a reverse-proxy setup (eg. ProxyPass) to pass requests from one apache instance to another. This is necessary because apache doesn't know the hostname of the request until after it processes the request (and reads the Host: HTTP request header). Joshua. --------------------------------------------------------------------- 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