[Zope] <base href="http://mydomain.dk" />

Dieter Maurer dieter@handshake.de
Tue, 24 Sep 2002 21:05:03 +0200


Preben Mikael Bohn writes:
 > I have put a <dtml-var index.html> in my index_html.
 > 
 > Everything works fine, but I just tried to validate my webpages using
 > www.w3.org's validator, and it came out with an error...
 > 
 > When I go into http://mydomain.dk/ Zope inserts a
 > <base href="http://mydomain.dk/" />
 > in the <HEAD> section, which is wrong HTML (I think the "/" is illegal)
 > 
 > If I go to http://mydomain.dk/index.html no base tag is inserted.
Read Ulrich's workaround (very recent post).
It provides a good solution for DTML Methods and Page Templates.


Dieter