httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Funk <jasonlf...@gmail.com>
Subject Re: Finding out original request's scheme
Date Fri, 22 Jul 2011 11:27:59 GMT
Then this thread is of interest to me too. :) There is always room to
improve.

On Fri, Jul 22, 2011 at 4:34 AM, Ignaz Birnstingl <ignazb@gmail.com> wrote:

> > I just check the local port:
> >
> >  c->local_addr->port == 443 -> HTTPS
> >  c->local_addr->port == 80 -> HTTP
> >
> > It should work for most implementations.
>
> Well the ports can be configured, e.g. in my development environment I
> let Apache listen on 8000 resp. 8443. The scheme detection should work
> for all configurations.
>
> -- Ignaz
>

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