<configure xmlns="http://namespaces.zope.org/zope">

<view
    for="zope.security.interfaces.IUnauthorized"
    type="zope.publisher.interfaces.http.IHTTPRequest"
    name="index.html"
    permission="zope.Public"
    factory=".unauthorized.Unauthorized"
    />

<defaultView
    for="zope.security.interfaces.IUnauthorized"
    type="zope.publisher.interfaces.http.IHTTPRequest"
    name="index.html"
    />

<view
    for="zope.publisher.interfaces.ITraversalException"
    type="zope.publisher.interfaces.http.IHTTPRequest"
    name="index.html"
    permission="zope.Public"
    factory=".notfound.NotFound"
    />

<defaultView
    for="zope.publisher.interfaces.ITraversalException"
    type="zope.publisher.interfaces.http.IHTTPRequest"
    name="index.html"
    />

<!-- BBB : can be removed in 3.3 -->
<view
    for="zope.exceptions.INotFoundError"
    type="zope.publisher.interfaces.http.IHTTPRequest"
    name="index.html"
    permission="zope.Public"
    factory=".notfound.NotFound"
    />

<defaultView
    for="zope.exceptions.INotFoundError"
    type="zope.publisher.interfaces.http.IHTTPRequest"
    name="index.html"
    />
<!-- END BBB : can be removed in 3.3 -->

<view
    for="zope.app.publication.http.IMethodNotAllowed"
    factory="zope.app.http.exception.methodnotallowed.MethodNotAllowedView"
    name="index.html"
    type="zope.publisher.interfaces.http.IHTTPRequest"
    permission="zope.Public"
    />

<defaultView
    for="zope.app.publication.http.IMethodNotAllowed"
    type="zope.publisher.interfaces.http.IHTTPRequest"
    name="index.html"
    />

</configure>
