[Zope] Customizing Error pages?

Alec Munro alec.munro at eoascientific.com
Fri Jan 9 10:09:47 EST 2004


Hi List,

I'm moving a static HTML site to Zope, and one of the results of this is 
that many, many links are changing. What I'm looking for is someway to 
catch all NotFound Errors, and at the very least, display a small 
explanation regarding our upgrading, with a link to the root of the new 
site. What I would like at the most would be to have a script that would 
check what URL they came in on, consult a translation table, and put up 
a page with the new link, and an auto refresh (part of this would be 
some kind of meta tags to tell search engines that the address had 
changed). Another handy thing would be logging all these errors, as well 
as their referrers, so I could go through and contact webmasters who 
have linked to us.
Basically, what I need is someway to direct all notfound errors to a script.

Thanks,

Alec Munro




More information about the Zope mailing list