how about the scheme of the request URL? hmm.. but that needs
parsing the URL...
Joao Pedro Gonçalves wrote:
>
> Hi, is there any method that will work through all the different
> apache ssl implementations?
> Currently what i do (with openssl) is:
>
> my $s = $r->lookup_uri($r->uri);
> my $ssl = $s->subprocess_env('HTTPS');
>
> $ssl becomes 'on' , but i don't know if this is compatible with other
> ssl implementations.
> Maybe this HTTPS env could be mapped to mod_perl %ENV, or using
> something similar for each ssl
> implementation so that a developer could trust on one place to know
> whether the request is using ssl or not.
>
> Thank your for you attention,
> Joao Pedro