On Fri, Nov 15, 2002 at 04:33:13PM +0100, Thieu-Hon Tran wrote:
Am 15.11.2002, 14:26 Uhr schrieb Michael St?ckel: -----------------------------------
Hello List,
I noticed that Zope adds a <base href... > tag to my HTML-Head.
Why and how can i stop it? (snip) Or you can insert your own base-tag, which also prevents Zope from adding it. (see http://www.zope.org/Members/wisser/base)
Before you go fiddling with it, you should understand that it's there for a good reason. If you view a folder bar/foo, you get bar/foo/index_html. But your browser doesn't know the difference. Relative links should be relative to bar/foo, but your browser thinks foo is a document so it tries to get them relative to bar/. So when zope invokes a folder's default view, it inserts the <base> tag. i fiddled with it at one point and found that with no <base> tag at all, viewing zope folders directly (not specifying index_html) resulted in many lost images. -- Paul Winkler http://www.slinkp.com "Welcome to Muppet Labs, where the future is made - today!"