[Zope-CMF] Any workarounds or tricks for getting portal conte
nt to look like it's directly under root?
John Puster
john.puster@acymtech.com
Fri, 10 Aug 2001 14:06:59 -0500
excellent. this works perfectly. i had tried this before, but put the cmf
object name after the VirtualHostRoot, which works except for the URLs that
Zope generates. many thanks.
--john
> The dogbowl uses a VirtualHostMonster, in collaboration with some
> Apache rewriting. The rewrite looks like:
>
> <VirtualHost ...>
> ServerName cmf.zope.org
> RewriteEngine On
> RewriteRule ^/(.*)
> ..../VirtualHostBase/http/cmf.zope.org:80/CMF/VirtualHostRoot/$1 [L,P]
> ...
> </VirtualHost>
>
> The host monster sits in the root of the site, as a sibling of
> the 'CMF' object (the CMFSite instance).
>
> Tres.
> --
> ===============================================================
> Tres Seaver tseaver@zope.com
> Zope Corporation "Zope Dealers" http://www.zope.com
>