but my site root is /Site and not /, which can be changed later. Should I define this as a variable, or is there a better way? thanks, Ferhat --- Jens Vagelpohl <jens@dataflake.org> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 30 Aug 2006, at 13:32, Ferhat Ayaz wrote:
yes, you're right. With define it works. Below is
the
same code with define. Thank you. But now I have another problem (actually my main problem). For instance,if you click more and more on the link 'Catalog'. The URL grows up like
http://localhost:8080/Site/Catalog/Catalog/Catalog/..../index.html
How can I say that the Catalog folder is just under the Site folder?
You're using relative paths, and that's bad. You should only ever use fully qualified paths, like "/path/to/item" instead of "to/item".
jens
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin)
iD8DBQFE9YY6RAx5nvEhZLIRApUVAKCbUe2UjZHET2FQUXQvZQnoFsF4cwCgnocs
UhTnhhY2UcDG1jRNtkGVx4k= =smrZ -----END PGP SIGNATURE----- _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com