[Zope] fix checked in (Re: ZWiki and Virtual Sites..)

Simon Michael simon@joyful.com
23 Feb 2001 15:50:43 +0000


Simon Michael <simon@joyful.com> writes:
> cs@comlounge.net (Christian Scholz) writes:
> > I was just working on my VirtualSiteRoot product for Zope (some
> > replacement for SiteRoot which is a little more flexible hopefully)
> > I encountered some problem with the recent ZWikiPage. So I have a
> > simple question:
> > 
> > Is there a special reason why you use 
> > 
> > return '/' + self.absolute_url(relative=1)
> 
> Hi Christian,
> 
> thanks for your comments on this. IIRC we put in the relative=1 to fix
> some other thing a long time ago. This code has gone round in circles
> a little bit, and really needs a proper test suite to exercise all the
> cases.
> 
> But for now, I have just checked in the code as described by you and
> at least for me it seems to be working fine both with and without
> virtual hosting.

I hope this may work for others. If anyone finds the latest cvs
version still giving problems with virtual hosting I'd be glad to hear
about it.

Thanks,
-Simon