[Zope] Best way to run multiple sites in one Server

Dylan Reinhardt zope@dylanreinhardt.com
Wed, 12 Mar 2003 08:28:18 -0800


At 01:22 PM 3/12/2003, Mico Siahaan wrote:
>I have just been handed over a server with some sites in it (not many :)
>). I wonder what is the best way to run multiple sites on one computer?

Determining what's "best" is going to depend a lot on your specific 
requirements.

Even so, here are some things that are generally worth considering:

1. Running a proxy (Apache/Squid) in front of Zope is a very good idea in 
any public web situation.
2. Running a bare (unproxied) VHM is not a particularly secure solution.
3. ProxyPass and RewriteRule directives are (IMO) the most painless ways to 
serve Zope content from Apache.
4. Zope can be configured to only take requests from a particular IP 
(localhost, in your case).

Determinations about fancier stuff like number of processes and ZEO are 
going to be heavily dependent on your requirements, environment and 
resources.

I'd start off running Zope behind a plain Apache with vhosts and see if 
that performs well enough for you.  That may well be all you need.

HTH,

Dylan