use Apache::URI ();
$r->parsed_uri->scheme;

returns http or https

[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/


Reply via email to