Hey Evan, Why one over the other? I have been using SiteRoot and AccessRules for years (literally since you wrote it). What does VHM get me that those two do not? Cheers, BZ At 4:19 PM -0500 8/6/02, Evan Simpson wrote:
Jim Kutter wrote:
if I setup a proxypass so that /section_in_zope/ goes to www.mysite.com:8080/section_in_zope (which works), all my links (file.html) now go to www.mysite.com:8080/section_in_zope/file.html. So i set a siteroot for section_in_zope, with base http://www.mysite.com/section_in_zope/ and base /section_in_zope/. The problem with that is now the link file.html goes to http://www.mysite.com/section_in_zope/section_in_zope/file.html and it grows with each new link.
Forget SiteRoot. Delete it, add a VirtualHostMonster named 'vhm' to your Zope root, and change your ProxyPass to the following (all one line):
ProxyPass /section_in_zope http://localhost:8080/VirtualHostRoot/http/www.mysite.com:80/
This assumes that Zope is on the same server as Apache ('localhost') and that there's a Zope Folder named 'section_in_zope'.
Cheers,
Evan @ 4-am
_______________________________________________ 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 )