My apologies for picking up this old thread once again.
Is the following a standard way to find out if you are in SSL mode or not:
ap_table_get(r->subprocess_env, "HTTPS") => if ="on" then SSL mode.
Is this a standard thing or vendor specific? I tried it on Raven and
Stronghold
it works. I was wondering about other vendors.
BTW ap_http_method() is defined as a macro in the httpd.conf file. So I
am wondering if that would really work. It crashes with atleast one vendor.
Maybe this question was already answered and I didn't catch it, so my
apologies again...
Thanks,
--Vinod.
At 08:25 AM 6/20/00 +0200, Dirk-Willem van Gulik wrote:
>http_get_method() should return the right protocol string. Though that is
>just a first cut; in a proxy environment you are not save.
>
>Dw
>
>On Thu, 15 Jun 2000, Marc van Leeuwen wrote:
>
> > 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 Modules Mailing List 636 currently subscribed
> > ----------------------------------------------------------------
> >
> > If you wish to be removed from this list, send the word
> > 'unsubscribe' to: [EMAIL PROTECTED]
> >
> >
>______________________________________________________________________
>Apache Interface to OpenSSL (mod_ssl) www.modssl.org
>User Support Mailing List [EMAIL PROTECTED]
>Automated List Manager [EMAIL PROTECTED]
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]