Euh I'm sorry I found it myself.

For the interested it is using ap_http_method() that returns "http" or
"https".

Marc

----- Original Message -----
From: Marc van Leeuwen <[EMAIL PROTECTED]>
To: Mod-ssl Users Mailing list <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, June 15, 2000 3:59 PM
Subject: How to know if we're in SSL mode


> I'm actually writing an Apache Module on an Apache configuration using
> mod-ssl patch.
>
> I would like to know in my module's handler whether the current request is
a
> SSL one or not, in a more elegant and robust manner than looking at the
port
> number used.
>
> Any idea ?
>
> Marc
>

______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to