On 12/06/14 11:41, Louis-David Mitterrand wrote:
> I found Apache2::ModSSL which adds $c->is_https but it seems old and not
> packaged for debian.

I am the author of said module. I haven't tried it with the httpd24
branch. But for httpd 2.2. it is expected to work.

However, the only reason you might need it is to get access to SSL
related stuff prior to the response phase. If you only need that
information in the response phase, you can have mod_ssl set a bunch of
environment variables accessible via $r->subprocess_env.

Also, SSL in HTTPD is bound to a certain endpoint on the server. So, if
you know that your server listens on IP:PORT for SSL connections, you
can check that using the modperl API.

Torsten

Reply via email to