[Zope] virtual server problem

Frank Tegtmeyer fte@lightwerk.com
25 Feb 2002 10:44:00 +0100


Hi,

I just tried to use VirtualHostMonster in Zope 2.5.1b1 for a setup
that is quite common at our clients. Let me first explain the setup.

We use Apache with mod_rewrite and mod_proxy to access the Zope
server. Zope provides typically multiple virtual servers. To be able
to manage the Zope server itself we always define an additional
virtual server 'z' that is located at the root of the Zope server
itself:

z.do.main  -->    mapped to /
  a.do.main -->   mapped to /a.do.main
  b.do.main -->   mapped to /b.do.main

With VHM I was not able to provide the mapping for 'z' because VHM
insists on having a path.
So I installed a SiteRoot for z as always.

The result was, that the VHM mapping for a and b were broken. The use
of absolute_url() inside of a and b always gives urls located in z
(even they were wrong).

I would like to use VHM because of it's centralizing of management -
is there a way to get a VHM-only solution for our setup? At the moment
we use a SiteRoot at the top and virtual site roots for a and b.

To avoid questions: No, we cannot access the Zope server directly from
the outside.

Regards, Frank