[Zope] Hiding behind Apache - how to get true physical path?

Oliver Bleutgen myzope@gmx.net
Wed, 04 Dec 2002 10:54:45 +0100


Skip Montanaro wrote:
>     Dieter> When you do it right, there may be no need to know about the
>     Dieter> "Zope" intermediate URL segment. Personally, I would go for such
>     Dieter> a solution.
> 
> Any clues?  If I want to send back a redirect, how to I "do it right" so the
> browser at the other end gets a valid URL?  

Send a redirect to:
object_where_you_want_to_redirect.absolute_url()
Zope will do the right thing.

> Someone else mentioned SiteRoot
> but the docs made me suspect a simple mistake would break things badly.
> 
> You mentioned VirtualHostMonster, but I can't find any docs about it at all.

See for instance
http://www.zope.org/Members/Jace/apache-vhm

There are other howtos on zope.org, they should all reside under 
"Administrator Howtos".

HTH,
oliver