On Thu, 3 Aug 2000, ___cliff rayman___ wrote:
> use Apache::URI ();
> $r->parsed_uri->scheme;
>
> returns http or https
Not really, you can spoof both:
http://thingy.kcilink.com/modperlguide/config/Knowing_the_proxy_pass_ed_Connec.html
> [EMAIL PROTECTED] wrote:
>
> > I've got a section of our site where I want to force the user to
> > connect via ssl.
> > Inside of mod_perl, is there a parameter I can grab to see whether
> > the connection is ssl or not? Or a way to get the port number?
> >
> > I went through the archives last night and couldn't find anything
> > near this. Am I missing something way to obvious here? I checked
> > the headers_in and nothing there would even hint that its ssl.
> >
> > Scott
>
> --
> ___cliff [EMAIL PROTECTED]http://www.genwax.com/
>
>
>
_____________________________________________________________________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:[EMAIL PROTECTED] http://perl.org http://stason.org/TULARC
http://singlesheaven.com http://perlmonth.com http://sourcegarden.org