Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

SSLLookup error

by JohnDi (Initiate)
on Feb 11, 2014 at 17:21 UTC ( #1074456=perlquestion: print w/ replies, xml ) Need Help??
JohnDi has asked for the wisdom of the Perl Monks concerning the following question:

I installed Apache::SSLLookup using cpanm today. The constructor and "is https" seem to work OK:
my $r = Apache::SSLLookup->new(shift);
my $is_ssl_request = $r->is_https;
But the lookup_var function
my $dn = $r->lookup_var('SSL_CLIENT_S_DN');
produces this error in the Apache logs:
Can't locate auto/Apache/SSLLookup/ in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at <my location>/ 
Has the installation gone wrong somewhere? A Google search for "" returns nearly nothing.

Any/All help appreciated


Comment on SSLLookup error
Replies are listed 'Best First'.
Re: SSLLookup error
by JohnDi (Initiate) on Feb 11, 2014 at 20:50 UTC
    The module author informed me that the API changed and the docs reflect the old function. Function
    was replace by
    which works!

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2015-07-29 04:03 GMT
Find Nodes?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...

    Results (260 votes), past polls