[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 13:39:01 -0500
the only problem there is that URLs generated by the portal will be wrong.
this is something i have been struggling with on and off since i started
using zope. i *think* the proper way to do it is with a SiteRoot, part of
the SiteAccess product (included with zope these days). here are some
references:
http://www.zope.org/Members/4am/SiteAccess2/vhosting
http://www.zope.org/Members/anser/apache_zserver
i haven't actually run a site for very long doing this, as setting a
siteroot has been a little bit unsettling, even though there are ways around
it. so, for the time being, i have lived with having the main site off the
main directory (with a small redirector in the actual root directory). i
have been really curious how other people are accomplishing this, though. i
would love to hear exactly how cmf.zope.org is set up.
--john
> -----Original Message-----
> From: Timothy Wilson [mailto:wilson@visi.com]
> Sent: Wednesday, August 08, 2001 9:53 PM
> To: waltonl
> Cc: CMF Mailing List
> Subject: Re: [Zope-CMF] Any workarounds or tricks for getting portal
> content to look like it's directly under root?
>
>
> On Wed, 8 Aug 2001, waltonl wrote:
>
> > Can anyone tell me if there are any tricks for eliminating
> the CMFSite object
> > from the url? Is it possible? If I want URL's to be
> > http://my.domain.com/aFolder
> > where aFolder is a part of a CMFSite - say named portal -
> so that I wouldn't
> > have to have http://my.domain.com/portal/aFolder ?
>
> Have a look at this virtual hosting How-To
> (http://www.zope.org/Members/mwr/VHosts_With_Zope_Default)
>
> This will do what you need.