[Gllug] Single IP, HTTP accelerator fronting multiple webservers

Richard Jones rich at annexia.org
Thu Feb 23 17:47:42 UTC 2006


Very quiet round here today ...

Anyway, our new webserver is using Xen to partition itself into
several virtual servers.

What I'd like to be able to do is run several webservers, each hosting
several different sites, and use an HTTP accelerator in front to
present them all from a single IP.  In ASCII art mode:

                     one public IP address
                            |
                            V
		+-----------------------+
		| HTTP accelerator      |
		+-----------------------+
                            |
	    +------------------+-------------------<- virtual internal net
            |                  |                   |
    +--------------+    +--------------+    +--------------+
    | example1.com |    | example2.com |    | example3.com |
    +--------------+    +--------------+    +--------------+

Obviously the HTTP accelerator has to recognise the requests based on
the Host: header and direct them to the appropriate internal virtual
machine.

Has anyone done this?  My first thought for accelerator was Squid, but
according to this page:
http://squid.visolve.com/squid/squid24s1/glossary.htm#httpd_accelerator
Squid can't (yet?) do this.  But the documentation is contradictory
and also refers to a supposed security issue with enabling
httpd_accel_uses_host_header, but without actually saying what that
issue is or how to remedy it.

TUX / "Red Hat Content Accelerator" is another possibility, but I'm
not so sure that I want to run kernel stuff (absolute performance is
not an issue for us).

Rich.

-- 
Richard Jones, CTO Merjis Ltd.
Merjis - web marketing and technology - http://merjis.com
Team Notepad - intranets and extranets for business - http://team-notepad.com
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list