[Zope3-dev] ZServerSSL for Zope X3

Stephan Richter srichter at cosmos.phy.tufts.edu
Sun Oct 3 09:20:06 EDT 2004


On Sunday 03 October 2004 02:40, Ng Pheng Siong wrote:
> Sounds reasonable. I'll look into that. In the case of configure.zcml, is
> it sufficient to just create one here for this package, or is some other
> magic needed?

Here is the directory structure as I would do it:

httpsserver/
    httpsserver.py
    httpsserverchannel.py
    publisherhttpsserver.py
    servertype.py
    configure.zcml
    httpsserver-configure.zcml
    ssl/
        ca.pem
        dh1024.pem
        server.pem
    PACKAGE.cfg
    PUBLICATION.cfg
    DEPENDENCIES.cfg

- `servertype.py` -- This is the renamed `zope/app/server/https.py` file.

- `configure.zcml` -- This contains the servertype registration.

- `httpserver-configure.zcml` -- This file is supposed to be copied to 
`etc/package-includes`, so that the server types are registered with Zope 3. 
I wonder whether `zpkg` can do this for you somehow...Fred? 

- `ssl/` -- You probably want your setup mechanism to copy this directory to 
`etc/`.

- `*.cfg` -- These files are used to provide information about the package 
itself. They are used to build a package using `zpkgtools`. You should really 
check out this packaging tool, since it will create distributions for you. 
For some simples of these files see http://svn.zope.org/psycopgda.

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