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
Frank Tegtmeyer wrote:
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.
With the extended host monster, I'm successfull using "/" as path. Philippe
Frank Tegtmeyer wrote:
With VHM I was not able to provide the mapping for 'z' because VHM insists on having a path.
I don't understand what you mean by this. You should be able to map 'z' just fine using: RewriteRule ^(.*) http://whatever:8080/http/z.do.main:80/VirtualHostBase$1 Cheers, Evan @ Zope
Evan Simpson <evan@zope.com> writes:
I don't understand what you mean by this. You should be able to map 'z' just fine using:
RewriteRule ^(.*) http://whatever:8080/http/z.do.main:80/VirtualHostBase$1
I was referring to inserting a mapping in VirtualHostMonster, not to defining a RewriteRule for Apache. Regards, Frank
participants (3)
-
Evan Simpson -
Frank Tegtmeyer -
Philippe Jadin