I did read it and do understand it. I guess I mis-understood the functionality of VHM in presupposing that it would restrict that kind of upward acquisition. Is there a way to pratially eclipse acquisition... :) Thanks. AM Evan Simpson wrote:
AM wrote:
I have a zope site running behind apache 2.0. The zope istnace has a VHM in there that maps to a domain. I had a few questions about the VHM workings.
The problem is I can access /test or for that matter any other URL outside nbs_online via the url nbs.neuro-bs.com/test
This isn't (directly) a VHM issue. What you're seeing is Zope acquisition, a powerful feature that can have surprising effects.
Fundamentally, acquisition means that when you ask the object at '/nbs_online' for the name 'test', Zope searches for 'test' in '/nbs_online' and then in '/', where it finds it. In general, if 'a' contains 'b' contains 'c', and you ask for '/a/b/c/d', Zope will search for 'd' in 'c', then 'b', then 'a', then the root.
I advise reading about acquisition in the Zope Book at www.zope.org.
Cheers,
Evan @ 4-am
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-- ================================================================== Aseem Mohanty Neurobehavioral Systems Inc, 828 San Pablo Ave, Albany, CA 94706 (R) 510 7696011 (M) 510 3014871 (O) 510 5279231 ================================================================== "I saw `cout' being shifted "Hello world" times to the left and stopped right there!!" -- Steve Gonedes ==================================================================