[Zope] Redirecting URLs in Zope for renamed top-level folder

Maik Jablonski maik.jablonski@uni-bielefeld.de
Mon, 25 Feb 2002 12:02:02 +0100


hi,

On Mon, 25 Feb 2002 09:57:41 +0000 (GMT)
"Hamish Lawson" <hamish_lawson@yahoo.co.uk> wrote:

> I plan to rename a top-level folder from A to B, but I'd like all
> users' old /A/path/to/stuff bookmarks to get redirected to
> /B/path/to/stuff.

simple way: put a dtml-method as index_html in your folder /A/path/to/stuff with content:

<dtml-call "RESPONSE.redirect('/B/path/to/stuff)">

greetings, maik.

-- 
Maik Jablonski
Zentrum fuer Lehrerbildung
Universitaet Bielefeld
Germany