Re: detecting ssl

2001-07-13 Thread brian moseley
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

Re: detecting ssl

2001-07-12 Thread Vivek Khera
> "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

Re: detecting ssl

2001-07-12 Thread Issac Goldstand
> 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

Re: detecting ssl

2001-07-11 Thread David Young
[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

RE: detecting ssl

2001-07-11 Thread Webmaster
- 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- > > > > >

Re: detecting ssl

2001-07-10 Thread Issac Goldstand
> > > > -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

Re: detecting ssl

2001-07-10 Thread Issac Goldstand
> > > > -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

RE: detecting ssl

2001-07-10 Thread Geoffrey Young
> -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

Re: detecting ssl

2001-07-10 Thread Issac Goldstand
> > -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 >

RE: detecting ssl

2001-07-10 Thread Geoffrey Young
> -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

RE: detecting ssl

2001-07-10 Thread Joe Breeden
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

Re: detecting ssl

2001-07-10 Thread Perrin Harkins
> 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

Re: detecting ssl

2001-07-10 Thread Issac Goldstand
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,

RE: detecting ssl

2001-07-10 Thread Geoffrey Young
> -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->

Re: detecting ssl

2001-07-10 Thread João Pedro Gonçalves
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

detecting ssl

2001-07-10 Thread brian moseley
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 wor