/usr/share/pyshared/zope/app/publication/configure.zcml is in python-zope.app.publication 3.13.2-0ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | <configure
xmlns="http://namespaces.zope.org/zope"
xmlns:browser="http://namespaces.zope.org/browser"
xmlns:zcml="http://namespaces.zope.org/zcml"
>
<adapter
for="* zope.publisher.interfaces.browser.IBrowserRequest"
provides="zope.publisher.interfaces.browser.IBrowserPublisher"
factory="zope.app.publication.traversers.SimpleComponentTraverser"
permission="zope.Public"
/>
<subscriber
zcml:condition="installed zope.site"
for="zope.component.interfaces.ISite
zope.traversing.interfaces.IBeforeTraverseEvent"
handler="zope.site.threadSiteSubscriber"
/>
<subscriber
zcml:condition="installed zope.site"
for="zope.publisher.interfaces.IEndRequestEvent"
handler="zope.site.clearThreadSiteSubscriber"
/>
<view
for="zope.interface.Interface"
type="zope.publisher.interfaces.xmlrpc.IXMLRPCRequest"
provides="zope.publisher.interfaces.xmlrpc.IXMLRPCPublisher"
factory="zope.app.publication.traversers.SimpleComponentTraverser"
permission="zope.Public"
/>
<adapter
for="types.MethodType zope.publisher.interfaces.browser.IBrowserRequest"
provides="zope.publisher.interfaces.browser.IBrowserPublisher"
factory="zope.app.publication.traversers.NoTraverser"
/>
<browser:view
for="zope.app.publication.interfaces.IFileContent"
provides="zope.publisher.interfaces.browser.IBrowserPublisher"
class="zope.app.publication.traversers.FileContentTraverser"
permission="zope.Public"
/>
<publisher
name="SOAP"
factory=".requestpublicationfactories.SOAPFactory"
methods="POST"
mimetypes="text/xml"
priority="30"
/>
<publisher
name="XMLRPC"
factory=".requestpublicationfactories.XMLRPCFactory"
methods="POST"
mimetypes="text/xml"
priority="20"
/>
<publisher
name="BROWSER"
factory=".requestpublicationfactories.BrowserFactory"
methods="GET POST HEAD"
mimetypes="*"
priority="10"
/>
<publisher
name="HTTP"
factory=".requestpublicationfactories.HTTPFactory"
methods="*"
mimetypes="*"
priority="0"
/>
</configure>
|