[Zope3-Users] The page that you are trying to access...

Frank Burkhardt fbo2 at gmx.net
Mon Dec 12 06:50:47 EST 2005


On Thu, Dec 08, 2005 at 05:45:08PM +0100, Dominik Huber wrote:
> Frank Burkhardt wrote:
> 
> >Hi,
> >
> >When I request a non-existing page from a zope3-server,
> >I get this message:
> >
> >  The page that you are trying to access is not available
> >  Please note the following:
> >      1. You might have misspelled the url
> >      2. You might be trying to access a non-existing page
> >
> >How can this page be customized?
> >
> use the overrides.zcml mechanism, reregistering an other page for INotFound:
> 
>  <page
>      for="zope.publisher.interfaces.INotFound"
>      name="index.html"
>      permission="zope.Public"
>      template="notfound.pt"
>      class="zope.app.exception.browser.notfound.NotFound"
>      />

Thank you - it's working.

Regards,

Frank


More information about the Zope3-users mailing list