On Fri, Mar 05, 1999, Alfredo Raul Pena wrote:

> > > > I think the problem is that I'm not using mod_perl for CGI scripts (where you
> > > > have the info via the environment) but from a AuthHandler... From there I
> > > > tried accessing subprocess_env without success, none of the SSL_XXXX
> > > > veriables are there.
> >
> > mod_ssl _does_ set the vars in the subprocess_env table, but it does it in the
> > Fixup handler which comes _after_ the auth handler. As a workaround you can
> > try to do your jobs inside another Fixup handler.  Hmmm.. I'm not sure whether
> > I should move the stuff in mod_ssl from Fixup to Auth.
> 
> Doing the authentication and authorization there would be the same (from a security
> and operational point of view) than doing it in the "normal" place?
> What about writing a perl module for EAPI? I think I could do it if there isn't any
> very hard issues.

Writing an EAPI interface for mod_perl would be cool. Actually with EAPI Doug
also could solve the nasty "PERL_SSI doesn't work under DSO" problem, because
with EAPI mod_include could use mod_perl even under the DSO situation.  For
getting the SSL_XXX variables from mod_perl all you've to do is to write an XS
function which calls mod_ssl the same way mod_rewrite does it to resolve SSL
variables.
                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com
______________________________________________________________________
Apache Interface to SSLeay (mod_ssl)   www.engelschall.com/sw/mod_ssl/
Official Support Mailing List               [EMAIL PROTECTED]
Automated List Manager                       [EMAIL PROTECTED]

Reply via email to