[Zope3-dev] 404 Error pages
Stephan Richter
stephan.richter at tufts.edu
Mon May 31 09:40:43 EDT 2004
On Sunday 23 May 2004 17:18, Barry Pederson wrote:
> TTW with an index.html view of zope.publisher.interfaces.NotFound as is
> done in src/zope/app/exception/browser/configure.zcml? (shouldn't that
> be INotFound instead of NotFound anyhow?)
Note that you can register views for classes, as it is done here.
The solution to the problem would be to manipulate the return code via the
HTTPResponse object. This is possible by setting the correct header.
Regards,
Stephan
--
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
More information about the Zope3-dev
mailing list