On Mon, 10 Apr 2000, Eric Cholet wrote:
> The front-end light server, serving static requests and proxying
> dynamic requests to a back-end modperl server, is well documented,
> except in the case of virtual hosts. How do you do it? Specifically,
> do you setup virtual hosts on the backend server? Different IPs, or
> different ports? Or just a flat url space, using mod_rewrite on the
> front-end to translate the urls?
I use static IP's and virtualhosts on the front-ends (we're investigating
using our Foundry ServerIron load balancer to rewrite the HTTP headers to
allow for name-based virtual servers on the front-ends).
mod_rewrite handles proxying the dynamic requests and apparently mod_proxy
automatically adds the correct headers for name-based virtual hosts on the
back end.
This all takes a while to setup, but it works flawlessly once it is done.
--
-- Tom Mornini
-- InfoMania Printing and Prepress