[Zope] Question about the base href that Zope adds automatica lly

Pieter Claerhout Pieter_Claerhout@CreoScitex.com
Thu, 8 Nov 2001 12:25:32 +0100


Any specific things that might get broken?


Pieter

-----Original Message-----
From: Chris Withers [mailto:chrisw@nipltd.com]
Sent: Thursday, November 08, 2001 12:17 PM
To: Pieter Claerhout
Cc: 'zope@zope.org'
Subject: Re: [Zope] Question about the base href that Zope adds
automatically


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