[Shorewall-users] redirect virtual webservers

Tom Eastep teastep@shorewall.net
Mon, 29 Apr 2002 14:32:15 -0700 (Pacific Daylight Time)


On Mon, 29 Apr 2002, Magnus Stenman wrote:

>
> 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.
> >
> > What is needed for that? is this possible with shorewall, if so how?
>
> A reverse proxy or similar. Not included in shorewall AFAIK.
>

Apache includes everything you need -- all Shorewall has to do is regular
port forwarding. Look at the Apache documentation:

	http://httpd.apache.org/docs/vhosts/examples.html

-Tom
--
Tom Eastep    \ Shorewall - iptables made easy
AIM: tmeastep  \ http://www.shorewall.net
ICQ: #60745924  \ teastep@shorewall.net