Does this help? http://www.zope.org/Members/bowerymarc/squid-zserver-virtual on 8/18/02 8:40 PM, Dennis Allison at allison@sumeru.stanford.EDU scrivened:
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
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )