<configure
    xmlns="http://namespaces.zope.org/zope"
    xmlns:zcml="http://namespaces.zope.org/zcml"
    xmlns:i18n="http://namespaces.zope.org/i18n"
    i18n_domain="plone">

    <subscriber
        for="Products.CMFCore.interfaces.ISiteRoot
             zope.traversing.interfaces.IBeforeTraverseEvent"
        handler=".hooks.onRequest"
        />

    <subscriber
        for="zope.processlifetime.DatabaseOpenedWithRoot"
        handler=".hooks.onStartup"
        />

</configure>
