[Zope] Question about the base href that Zope adds automatically

Chris Withers chrisw@nipltd.com
Thu, 08 Nov 2001 11:17:02 +0000


Pieter Claerhout wrote:
> 
> can anyone explain me why zope always adds the <base
> href="http://my.server.com/" /> to every HTML file it's serving. What's the
> purpose of this, and is it really necessary?

It's a sucky cludge to solve quite a tricky problem because no-one can afford
the time to get their head around it ;-)

> By the way, is there an easy way to get rid of this if it's not necessary?

Put your own <base> in your header, but, be warned, it'll bite you at some point
;-)

cheers,

Chris