|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /usr/share/doc/m2crypto-0.16/demo/ZopeX3/install_dir/lib/python/zope/app/server/ |
Upload File : |
##############################################################################
#
# Copyright (c) 2004, Ng Pheng Siong.
# All Rights Reserved.
#
# XXX license TBD; should be Zope 3's ZPL, I just haven't read thru that.
#
##############################################################################
"""HTTPS server factories
$Id: https.py 240 2004-10-02 12:40:14Z ngps $
"""
from zope.app.publication.httpfactory import HTTPPublicationRequestFactory
from zope.app.server.servertype import ServerType
from zope.server.http.commonaccesslogger import CommonAccessLogger
from zope.server.http.publisherhttps_server import PMDBHTTPS_Server
from zope.server.http.publisherhttps_server import PublisherHTTPS_Server
https = ServerType(PublisherHTTPS_Server,
HTTPPublicationRequestFactory,
CommonAccessLogger,
8443, True)
pmhttps = ServerType(PMDBHTTPS_Server,
HTTPPublicationRequestFactory,
CommonAccessLogger,
8376, True)