ZCML File
configure.zcml
[top]
/
zope
/
app
/
http
/
exception
/ configure.zcml
<
configure
xmlns
="
http://namespaces.zope.org/zope
"
>
<
view
for
="
zope.security.interfaces.IUnauthorized
"
permission
="
zope.Public
"
name
="
index.html
"
type
="
zope.publisher.interfaces.http.IHTTPRequest
"
factory
="
.unauthorized.Unauthorized
"
/>
<
defaultView
name
="
index.html
"
type
="
zope.publisher.interfaces.http.IHTTPRequest
"
for
="
zope.security.interfaces.IUnauthorized
"
/>
<
view
for
="
zope.publisher.interfaces.ITraversalException
"
permission
="
zope.Public
"
name
="
index.html
"
type
="
zope.publisher.interfaces.http.IHTTPRequest
"
factory
="
.notfound.NotFound
"
/>
<
defaultView
name
="
index.html
"
type
="
zope.publisher.interfaces.http.IHTTPRequest
"
for
="
zope.publisher.interfaces.ITraversalException
"
/>
<
view
for
="
zope.app.publication.http.IMethodNotAllowed
"
permission
="
zope.Public
"
name
="
index.html
"
type
="
zope.publisher.interfaces.http.IHTTPRequest
"
factory
="
zope.app.http.exception.methodnotallowed.MethodNotAllowedView
"
/>
<
defaultView
name
="
index.html
"
type
="
zope.publisher.interfaces.http.IHTTPRequest
"
for
="
zope.app.publication.http.IMethodNotAllowed
"
/>
</
configure
>