[Zope] relative URLs; please check my solution

Marcus Schopen marcus.schopen@uni-bielefeld.de
Sat, 21 Apr 2001 16:10:41 +0200


Hi there,

to give users the possibility to use relative URLs in Zope products like
HTMLDocument, I set the BASE URL in standard_html_header to <base
url="http://www.server.uni-bielefeld.de/">. Now I can use relative
links.

Before doing this, it was not possible to link from a subfolder to a
document in the parent folder (e.g. test.html) with ../test.html. The
reason for this was the 'base url' generated by Zope with a slash after
each file name: <base
href="http://www.server.uni-bielefeld.de/test.html/">
                                                 ^^^
Do I run in trubble with the solution?

Marcus

-- 

_____________________________________

      (0>   Marcus Schopen
      //\   Bielefeld, Germany
      V_/_
_____________________________________