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
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, not necessarily be over a secure
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 SSL in
- 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-
From: Issac Goldstand [mailto:[EMAIL PROTECTED]]
Sent
, you won't get anywhere.
From: Vivek Khera [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] writes:
IG
warning: these may be silly questions. but i've looked
through the guide and not found the answers, so hopefully
they're not that silly.
how can i test in a content handler if the request was
received over an ssl connection? do i have to look for an
environment variable? is there a test that
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
-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-lookup_uri($r-uri);
my $ssl = $s-subprocess_env('HTTPS
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, 2001 14:33
Subject: RE: detecting ssl
-Original Message-
From: João Pedro
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
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
-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 necessarily. I could easily set up any virtualhost
-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 necessarily. I could easily set up any virtualhost
-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: Issac Goldstand [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July
-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 necessarily. I could easily set up
-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 necessarily. I could easily set up
16 matches
Mail list logo