[Zope] Resolving a url from a path in a virtual host environment

Dieter Maurer dieter at handshake.de
Fri Oct 20 13:22:02 EDT 2006


Pablo Ziliani wrote at 2006-10-19 21:54 -0300:
>I'm having some trouble tying to get an object from a given path. I'm 
>using virtual hosts, so according to Dieter's great documentation[1], 
>REQUEST.resolve_url should do it.

Whatever I may have said, if you really have a (Zope) path (and not an URL),
then you should use a method working with paths: "[un]restrictedTraverse".



-- 
Dieter


More information about the Zope mailing list