Re: [Zope3-Users] The page that you are trying to access...
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: > >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 ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] The page that you are trying to access...
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: or register an additional page to a dedicated layer (skin) using the layer attriubte of the page directive. Regards, Dominik begin:vcard fn:Dominik Huber n:Huber;Dominik email;internet:[EMAIL PROTECTED] tel;work:++41 56 534 77 30 x-mozilla-html:FALSE version:2.1 end:vcard ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users