[Zope] URL relative to document, not folder. How to fix?
James Hazard
james.hazard@commonaccord.com
Tue, 11 Jun 2002 18:38:10 -0400
This is a multi-part message in MIME format.
------=_NextPart_000_0000_01C21177.22F97770
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Hi, I'm new. I loaded a bunch of html documents into a couple of folders
under CMF and discover that the usual notation for a relative link <a
href="doc2.html">doc2</a> looks for doc1.html/doc2.html ! Because of
inheritance (?), it finds the document as long as the calling and called
documents are in the same folder, but if I want a document in another folder
<a href="../introduction.html">Up for Intro</a>, it doesn't work.
It seems that the path is relative to the document and not the folder, so to
speak. Have I got something misconfigured?
Thanks,
Jim
------=_NextPart_000_0000_01C21177.22F97770
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D887062022-11062002>Hi, I'm=20
new. I loaded a bunch of html documents into a couple of folders =
under=20
CMF and discover that the usual notation for a relative link <a=20
href=3D"doc2.html">doc2</a> looks for doc1.html/doc2.html =
! =20
Because of inheritance (?), it finds the document as long as the calling =
and=20
called documents are in the same folder, but if I want a document =
in=20
another folder <a href=3D"../introduction.html">Up for =
Intro</a>, it=20
doesn't work. </SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D887062022-11062002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D887062022-11062002>It =
seems that the=20
path is relative to the document and not the folder, so to speak. =
Have I=20
got something misconfigured?</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D887062022-11062002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D887062022-11062002>Thanks,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D887062022-11062002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D887062022-11062002>Jim</SPAN></FONT></DIV></BODY></HTML>
------=_NextPart_000_0000_01C21177.22F97770--