[ANNOUNCE] Apache::SSLLookup 2.00_01

[prev] [thread] [next] [Date index for 2004/11/03]

From: Geoffrey Young
Subject: [ANNOUNCE] Apache::SSLLookup 2.00_01
Date: 20:28 on 03 Nov 2004
The URL


http://www.modperlcookbook.org/~geoff/modules/Apache-SSLLookup-2.00_01.tar.gz

has entered CPAN as

  file: $CPAN/authors/id/G/GE/GEOFF/Apache-SSLLookup-2.00_01.tar.gz
  size: 5904 bytes
   md5: e93f6f0a95c917bb569ea60c1e681b42

from the README:

NAME

Apache::SSLLookup - hooks for various mod_ssl functions

SYNOPSIS

in httpd.conf:

  # pre-loading via PerlModule or startup.pl is REQUIRED!!!
  PerlModule Apache::SSLLookup

in any handler:

  sub handler {
    my $r = Apache::SSLLookup->new(shift);

    my $request_is_over_ssl = $r->is_https;

    my $value = $r->lookup_var('SSL_CLIENT_VERIFY');

    ...
  }

DESCRIPTION

Apache::SSLLookup is a glue layer between Perl handlers
and the mod_ssl public API.  under normal circumstances, you would
use $r-subprocess_env() to glean information about mod_ssl.
for example,

  my $request_is_over_ssl = $r->subprocess_env('HTTPS');

however, this is only possible after mod_ssl runs its fixups -
that is, Perl handlers can only accurately check the
subprocess_env table for mod_ssl information in the
PerlResponsePhase or later.

this module allows you to query mod_ssl directly via its public
C API at any point in the request cycle.  but without using C,
of course.


        -- 
        Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

[ANNOUNCE] Apache::SSLLookup 2.00_01
Geoffrey Young 20:28 on 03 Nov 2004

Generated at 11:26 on 21 Dec 2004 by mariachi v0.52