Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

mod_perl / mod_ssl variable problem.

by gam3 (Curate)
on May 27, 2008 at 21:32 UTC ( #688744=perlquestion: print w/replies, xml ) Need Help??
gam3 has asked for the wisdom of the Perl Monks concerning the following question:

I would like to use SSL_CIPHER_ALGKEYSIZE and other openssl data from mod_perl, but I can't figure out how to access this data.

Using mod_cgi these show up in the environment, but under ModPerl::PerlRun these are not exposed. Also $r->subprocess_env() does not make these environment variables available.

Does anyone know how I can get access to the mod_ssl information.

NOTE: I have found Apache2::ModSSL, but can't get it to work either.

UPDATE: And the answer is:

SSLOptions +StdEnvVars
-- gam3
A picture is worth a thousand words, but takes 200K.

Replies are listed 'Best First'.
Re: mod_perl / mod_ssl variable problem.
by Anonymous Monk on May 28, 2008 at 01:49 UTC
    are you sure you're running under ssl?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://688744]
Approved by pc88mxer
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2016-10-21 22:04 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (291 votes). Check out past polls.