is checking for $ENV{HTTPS} not sufficient?
On Tue, 10 Jul 2001, João Pedro Gonçalves wrote:
> This approach should be ok:
>
> my $s = $r->lookup_uri($r->uri);
> my $ssl = $s->subprocess_env('HTTPS');
>
> I looked at this a while back and this is usually set internally
> in apache by the ssl im
> "IG" == Issac Goldstand <[EMAIL PROTECTED]> writes:
IG> I did. Look at my follow-up to Geoffrey's esponse to the post you're
IG> quoting for details... It worked from most simple clients...
Then those clients are wrong. You're requeting SSL when you say
https://whatver/. You should get
> On Thu, 12 Jul 2001, Issac Goldstand wrote:
>
> >
> > > > "IG" == Issac Goldstand <[EMAIL PROTECTED]> writes:
> > >
> > > IG> Not necessarily. I could easily set up any virtualhost on port
> > > IG> 443 which will be accessable by https://nasty.servername/ but
> > > IG> will, in reality, no
[EMAIL PROTECTED]>
> Organization: Khera Communications, Inc., Rockville, MD
> Newsgroups: ml.apache.modperl
> Date: 11 Jul 2001 15:17:11 -0400
> To: [EMAIL PROTECTED]
> Subject: Re: detecting ssl
>
>>>>>> "IG" == Issac Goldstand <[EMAIL PROTECTED]> writ
- Original Message -
From: Issac Goldstand <[EMAIL PROTECTED]>
To: Geoffrey Young <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, July 10, 2001 3:58 PM
Subject: Re: detecting ssl
> > > > > -Original Message-
> > > > >
> > > > -Original Message-
> > > > From: Issac Goldstand [mailto:[EMAIL PROTECTED]]
> > > > Sent: Tuesday, July 10, 2001 10:44 AM
> > > > To: Geoffrey Young; 'João Pedro Gonçalves'; brian moseley
> > > > Cc: [EMAIL PRO
> > > > -Original Message-
> > > > From: Issac Goldstand [mailto:[EMAIL PROTECTED]]
> > > > Sent: Tuesday, July 10, 2001 10:44 AM
> > > > To: Geoffrey Young; 'João Pedro Gonçalves'; brian moseley
> > > > Cc: [EMAIL PRO
> -Original Message-
> From: Issac Goldstand [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 10, 2001 1:07 PM
> To: Geoffrey Young
> Cc: [EMAIL PROTECTED]
> Subject: Re: detecting ssl
>
>
> > > -Original Message-
> > > From
> > -Original Message-
> > From: Issac Goldstand [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, July 10, 2001 10:44 AM
> > To: Geoffrey Young; 'João Pedro Gonçalves'; brian moseley
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: detecting ssl
>
> -Original Message-
> From: Issac Goldstand [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 10, 2001 10:44 AM
> To: Geoffrey Young; 'João Pedro Gonçalves'; brian moseley
> Cc: [EMAIL PROTECTED]
> Subject: Re: detecting ssl
>
>
> Not ne
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
> 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
7675 E0FA 561B
- Original Message -
From: "Geoffrey Young" <[EMAIL PROTECTED]>
To: "'João Pedro Gonçalves'" <[EMAIL PROTECTED]>; "brian moseley"
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, July 10,
> -Original Message-
> From: João Pedro Gonçalves [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 10, 2001 9:08 AM
> To: brian moseley
> Cc: [EMAIL PROTECTED]
> Subject: Re: detecting ssl
>
>
> This approach should be ok:
>
> my $s = $r->
This approach should be ok:
my $s = $r->lookup_uri($r->uri);
my $ssl = $s->subprocess_env('HTTPS');
I looked at this a while back and this is usually set internally
in apache by the ssl implementation.
João Pedro
brian moseley wrote:
>
> warning: these may be silly questions. but i've
15 matches
Mail list logo