[Zope] The best way to set up Multiple Zopes?

Stephen Harrison stephen@nipltd.com
Fri, 7 Apr 2000 10:45:23 +0100


> I think ProxyPass is the "cleanest" way to do this.  You need an IP for
> each of them, and I've found no way to do it "virtually" (the way you
> can with SiteRoots, etc.)  The zope talks to the same IP as the
> VirtualHost, but on differing ports.

You don't need multiple IP addresses.  Just run each site through 
an Apache Virtual Host.

...
NameVirtualHost 192.193.10.10

<VirtualHost 192.193.10.10>
 ServerName siteone.foo.bar
 ProxyPass  /  http://localhost:8080/
 ProxyPassReverse  / http://localhost:8080/
</VirtualHost>

<VirtualHost 192.193.10.10>
 ServerName sitetwo.foo.bar
 ProxyPass  / http://localhost:7080/
 ProxyPassReverse  /  http://localhost:7080/
</VirtualHost>
...

Cheers,
Stephen

-- 
Stephen Harrison - stephen@nipltd.com
New Information Paradigms - www.nipltd.com