----- Original Message ----- From: "Dennis Allison" <allison@sumeru.stanford.EDU> To: <zope@zope.org> Sent: Monday, August 19, 2002 2:40 AM Subject: [Zope] VHM & Squid Problems
I have partitioned my server into a collection of sites using the VHM and Squid and a custom URL rewriter.
At the hightest level I have
the_net <=> SQUID <=> Zope
The Zope space is split into a few sites which are independent
SQUID <=> (site a) <--these share similar naming a-foo-... (site b) b-foo-... (site c) and the rolocation is to the 'foo' name
For safety, SQUID runs on port 80 and zope on port 8080 and looks only at localhost.
The rewriter takes URLs of the form
and rewrites them to
http://127.0.0.1:8080/VirtualHostBase/http/xx/VirtualHostRoot/yy
per the spec. This seems to work.
However, when the site begins generating requests, they are all relative to the VirtualHostRoot and so are not found. I suppose another set of rewrite rules will solve the problem--but am I missing some crutial part of the VHM setup?
-dra
Hi, Have a look at this new chapter of the future Zope Book, it might be of some help (describes the VHM in details). http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/VirtualHosting.s... --Gilles mailto:gilles@pilotsystems.net