[Zope] Re: Most efficient use of url rewriting and virtual host monster.

Evan Simpson evan at 4-am.com
Wed Nov 12 18:23:35 EST 2003


Alec Munro wrote:
> the url is truncated when I'm using a VHM, and I get "/HTML/somePage" 
> instead of "/folder/xyz/HTML/somePage". Is there some way I can adapt 
> restrictedTraverse to root it in a certain directory?

Ah, you want getPhysicalPath(), not absolute_url(), since 
restrictedTraverse operates on paths, not URLs.

Cheers,

Evan @ 4-am




More information about the Zope mailing list