[Zope] Re: making a static snapshot
martin f krafft
madduck@madduck.net
Fri, 2 May 2003 14:59:22 +0200
--mxv5cy4qt+RJ9ypb
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
also sprach Paul Winkler <pw_lists@slinkp.com> [2003.05.01.1508 +0200]:
> 1) don't use relative URLs,
> 2) avoid using relative URLs, and
> 3) get rid of relative URLs.
sot this (plone) portal I have can be seen through www.ailab.ch, but
also through www.ifi.unizh.ch/newailab. The point is, the root of
the tree may freely change, thanks to vhost monsters!
My problem currently is that I'd like to be able to create links in
structured text, ideally using / to identify the root of the portal.
However, "link":/people/krafft, when viewed through
www.ifi.unizh.ch/newailab will point to
www.ifi.unizh.ch/people/krafft, which is, of course, a 404.
so in the above, i have to use relative urls, or can you think of
another way to do this?
I tried "link":portal_url/people/krafft, and that works, but it
makes the link show up as e.g.
www.ifi.unizh.ch/newailab/research/portal_url/people/krafft, which
is (a) ugly, (b) breaks navigation, and (c) makes bookmarking and
other uses dangerous.
thanks for any insights!
--=20
martin; (greetings from the heart of the sun.)
\____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck
=20
keyserver problems? http://keyserver.kjsl.com/~jharris/keyserver.html
get my key here: http://madduck.net/me/gpg/publickey
=20
1 + 1 =3D 3, for large values of 1
--mxv5cy4qt+RJ9ypb
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+smuqIgvIgzMMSnURAroSAKDVHPJaCVoygjc2SPwh6a7hspyfrwCg1DUv
90YVbG2izvj8e3Tkeklj6Zo=
=mKNo
-----END PGP SIGNATURE-----
--mxv5cy4qt+RJ9ypb--