httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] "Fake" virtual hosts
Date Tue, 13 May 2003 15:34:41 GMT
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 <URL:http://httpd.apache.org/userslist.html> 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


Mime
View raw message