httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sorin Manolache <sor...@gmail.com>
Subject Re: Finding out original request's scheme
Date Thu, 21 Jul 2011 09:17:04 GMT
On Thu, Jul 21, 2011 at 11:02, Ignaz Birnstingl <ignazb@gmail.com> wrote:
> Hello,
>
> is there an easy way to find out a request's scheme part (i.e. http or
> https)? r->parsed_uri.scheme seems to be a null pointer. I currently
> iterate r->input_filters and check if filter->frec->name is "ssl/tls
> filter" but that doesn't seem right. Any suggestions?

Check the HTTPS environment variable (r->subprocess_env).

S

Mime
View raw message