[Zope] Re: Zope digest, Vol 1 #289 - 28 msgs

Matthew J. Probst matthew@home.yak.org
Wed, 23 Jun 1999 14:35:28 -0500 (CDT)


I guess I'm confused as to the "accepted" way to get virtual hosts running
under Zope, if such a thing even exists.

I have two domains that I would like to use Zope with.  A company I work
for would like to host many domains with Zope.  As far as I see, there
would be two approaches to this on the Zope side:

1.  Redirecting different parts of the URI namespace to different parts
    of Zope's internal database
2.  Redirecting different parts of the URI namespace to different Zope
    processes.

I can see where (1) would be beneficial for different virtual domains that
need to access much of the same information, and where (2) would be
beneficial for modularizing sites into independent units.

I've looked in the archives, and looked at postings here, and really
wonder whether the question I'm thinking about is the one answered by
people posting various Rewrite rules here.

Of course there is the parallel issue of which web server to use to
redirect the URI namespace.  I have Apache, and I'm interested in ZServer
in the alpha version, but I understand that that is unsupported.  However,
for the sake of conversation and understanding, can the ZServer in the
alpha distribution accomplish the same role as Apache, in redirecting
different virtual domains to seperate Zope processes or seperate trees of
the Z object database?

Assuming that ZServer and Apache do or would eventually support this mode
of operation, would ZServer offer better resource usage through its
multithreaded nature?