[Zope] How to accaess ssl related CGI environment variables
Oleg Broytmann
Oleg Broytmann <phd@phd.fep.ru>
Mon, 9 Jul 2001 12:33:16 +0400 (MSD)
Hello!
On Mon, 9 Jul 2001, Istvan Vago wrote:
> > PCGI protocol passess the entire environment to Zope. You are to be sure
> >Apache really created the env vars that you want.
> >
> Well, I was not absolutely correct, I use mod_pcgi2. Also tried fastcgi,
> but looking in the REQUEST both case, no SSL related variable :-((((
As the author of mod_pcgi2 I can assure you that the module passess all
environment variables that are available at the moment of request.
> The vars are there, I can use them in apache's conf (eg. write the
> SSL_CLIENT_S_DN to the log file).
May be by some reason Apache does not passes these variables to the
mod_pcgi2.
> Are the vars should be in the REQUEST? Or I should look in somewhere else?
Yes, I think they must. How did you look into REQUEST.environ? There is
a chance Zope's Request object hides some variables from you.
Oleg.
----
Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.