On 11/24/2012 08:11 PM, Fred Moyer wrote:
> On Sat, Nov 24, 2012 at 7:58 AM, André Warnier <a...@ice-sa.com> wrote:
>> > Inside a mod_perl2 request handler, how can I find out if the current
>> > request was received via HTTP or HTTPS ?
> Torsten is the author of this module, so he can explain it in more
> detail, but it looks like it can do part of what you need:
> 
> https://metacpan.org/module/Apache2::ModSSL

That is, of course, what I would use. If I recall correctly, the module
was written to have access to the SSL related information *prior to* the
response phase. If you need it only in the response phase you can have
mod_ssl export almost all of the stuff accessible via Apache2::ModSSL as
environment variables accessible via $r->subprocess_env.

Torsten

Reply via email to