[Shorewall-users] redirect virtual webservers

Paul Gear paulgear@bigfoot.com
Tue, 30 Apr 2002 10:37:40 +1000


Magnus Stenman wrote:

> Goetz Reinicke wrote:
> >
> > Magnus Stenman wrote:
> ...
> > >>internal web servers, but how to handle the different virtual names??
> > >
> > >
> > > The virual namebased ones will work fine.
> >
> > How?
>
> Client looks up "www.virtual.server", gets a cname to your external IP.
> It connects (this gets forwarded to the internal web server) and
> tells the web server that it wants pages from "www.virtual.server"
> (the Host: www.virtual.server HTTP header)
>
> web server returns pages.

Interpretation: this has nothing to do with Shorewall.  It is handled in
your web server configuration.

Paul
http://paulgear.webhop.net