[mod_python] modpython and SSL

Gary Benson gbenson at redhat.com
Tue Jun 18 18:49:45 EST 2002

On Tue, 18 Jun 2002, Chad Maine wrote:

> An easier option would be to use mod_ssl in place of an ssl-enabled apache.
> http://www.modssl.org  We use mod_python and mod_ssl together with no
> problems.

mod_ssl == ssl-enabled apache. The original Apache API wasn't flexible
enough for mod_ssl to do what it does, and before you can build mod_ssl
you need to apply the mod_ssl EAPI (Literally extended API) patch and
rebuild Apache.  Since the API is changed, you _must_ rebuild any modules
compiled against the unpatched version.

> -----Original Message-----
> From: Gary Benson [mailto:gbenson at redhat.com]
> Sent: Tuesday, June 18, 2002 8:30 AM
> To: Jacques Marée
> Cc: 'mod_python at modpython.org'
> Subject: Re: [mod_python] modpython and SSL
> On Tue, 18 Jun 2002, Jacques Marée wrote:
> > We have used Apache + modpython + Python + MS-Access for a project, and
> > everything works fine.
> > 
> > Our client ask for a new development, but with the secure protocol SSL.
> > 
> > Do you have experimented such an environment? The Apache documentation
> > shows how to patch the HTTP server in order to handle SSL, but I wonder
> > if modpython will continue to work. In other words, do the CGIs receive
> > the same information when the httpd server uses SSL or when httpd server
> > is "unsecured" ?
> All your scripts should work straight out of the box unless you generate
> absolute URLs (in which case you'll have to change the http to a https).
> FYI CGIs and the like actually get _more_ information when SSL is running,
> since a bunch of variables get set to let your scripts know what cipher is
> in use and so on.
> Don't forget to recompile all your modules (mod_python included) against
> the SSL-patched Apache since they are binary-incompatible with each other.
> Cheers,
> Gary
> [ gbenson at redhat.com ][ GnuPG 85A8F78B ][ http://inauspicious.org/ ]
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://www.modpython.org/mailman/listinfo/mod_python

[ gbenson at redhat.com ][ GnuPG 85A8F78B ][ http://inauspicious.org/ ]

More information about the Mod_python mailing list