Inhibiting acquisition for virtual hosting?
I'm using the Zope SiteRoot and Apache mod_rewrite configured as described in the zope documentation as a front-end for several virtual zope sites. I just noticed that I'm getting some search engine hits on one zope site, which should have been destined for one of the other zope sites. It turns out that somehow the search engine got the url with the prefix of one site, followed by the root folder name of the other site, so another view of the other site came up in the wrong place under the first site, thanks to acquisition. Is there a way to nip acquisition in the bud when doing virtual hosting, so it doesn't walk up past the virtual host SiteRoot? Has this been fixed in recent versions of Zope? I'm running an older version of Zope on that server. Can I just upgrade or install some cool product in order to fix the problem? Thanks a lot for the help! -Don
Don Hopkins wrote:
I?m using the Zope SiteRoot and Apache mod_rewrite configured as described in the zope documentation as a front-end for several virtual zope sites.
That's out of date, you should be using Virtual Host Monster now.
Is there a way to nip acquisition in the bud when doing virtual hosting, so it doesn?t walk up past the virtual host SiteRoot?
In short, no :-( Chris
Sorry for the late reply here. Would it work to make a folderish object that does not have implicit acquisition, and use that as the top-level folder for each of your virtual zope sites? Seems to me, if you're doing Zope hosting, a top-level object that's not strictly a standard folder might be useful to hang other things off anyway... And it's near-trivial to write something like that. Assuming it'd play nicely with VHM, whose inner workings I'm not aware of... KevinL On Wed, 2002-09-18 at 20:14, Chris Withers wrote:
Don Hopkins wrote:
I?m using the Zope SiteRoot and Apache mod_rewrite configured as described in the zope documentation as a front-end for several virtual zope sites.
That's out of date, you should be using Virtual Host Monster now.
Is there a way to nip acquisition in the bud when doing virtual hosting, so it doesn?t walk up past the virtual host SiteRoot?
In short, no :-(
Chris
_______________________________________________ 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 )
participants (3)
-
Chris Withers -
Don Hopkins -
KevinL