httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.D. Mullin" <jeremym1...@cableone.net>
Subject Re: determine if mod called via ssl request
Date Fri, 24 Sep 2010 12:26:30 GMT
I'll give that a try. thanks Ben.

On Tue, Sep 21, 2010 at 9:38 AM, Ben Noordhuis <info@bnoordhuis.nl> wrote:

> On Tue, Sep 21, 2010 at 17:24, J.D. Mullin <jeremym1234@cableone.net>
> wrote:
> > It seems like I am missing some very simple way to tell if the request
> was
> > made via https, but I have scanned all of the structures available from
> the
> > request_rec and I don't see anything obvious.
>
> const char *flag = getenv("HTTPS");
> if (flag && !strcmp(flag, "on")) {
>    // HTTPS-only logic
> }
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message