2 Dec
2002
2 Dec
'02
10:47 p.m.
Skip Montanaro writes:
I'm working on a Zope server which is sitting behind Apache, so instead of
URLs take this form:
http://somehost/Zope/foo/bar/baz
Inside a Python script I can ask for the path to an object like so:
context.foo.getPhysicalPath()
which returns
('', 'foo')
Is there a way to get it to return
('', 'Zope', 'foo')
without knowing "/Zope" explicitly? Use VHM (VirtualHostMonster) and "absolute_url" and forget about the question above.
Head the documentation you find on a VHM instance. Dieter