Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://688744]
Approved by pc88mxer
help
Chatterbox?
[hippo]: Other package managers are available
LanX wouldn't update system Perl!
[Discipulus]: prathap keerthipati might be it is better to install an alternative Perl instead and do not touch the system one
[LanX]: see perlbrew for alternative Perl installations
[marto]: unless you know exactly what you're doing an often saner option is to simply build another Perl rather than replace the system one

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (16)
As of 2017-03-23 10:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (285 votes). Check out past polls.