Looking at the port number still doesn't ensure that the request is a SSL
request. I believe the mention to looking at $ENV{HTTPS} is the best couse
as that is set when the connection is a SSL connection and not just a
connection to port 443.

--Joe Breeden

--------------------------
Sent from my Outlook 2000 Wired Deskheld (www.microsoft.com)


> -----Original Message-----
> From: Perrin Harkins [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 10, 2001 8:50 AM
> To: brian moseley
> Cc: [EMAIL PROTECTED]
> Subject: Re: detecting ssl
> 
> 
> > no need to do a lookup or rely on PerlSetupEnv On I 
> wouldn't think...
> >
> > my $ssl = Apache::URI->parse($r)->scheme =~ m/^https/;
> 
> Or maybe just look at the port # of the request.
> - Perrin
> 

Reply via email to