Re: modperl Digest 15 Jun 2002 20:05:58 -0000 Issue 797

2002-06-16 Thread Eric DOUTRELEAU

Hi  

First  thanks for your answer.  

>   
>Date: 14 Jun 2002 12:33:35 -0400   
>To: [EMAIL PROTECTED] 
>From: Vivek Khera <[EMAIL PROTECTED]>  
>Subject: Re: location of LoginScript in Apache::AuthCookie* modules
>Message-ID: <[EMAIL PROTECTED]>
>       
>>>>>> "ED" == Eric Doutreleau <[EMAIL PROTECTED]> writes:
>   
>ED> Right now i would like to make user authenticate throug a SSL  
>ED> page.  
>ED> In order to do that i modify the configuration script to use   
>   
>ED> PerlSetVar WhatEverLoginScript https://corbeau/perl/login.pl   
>   
>Well, in order to be able to get the original location, this has to be 
>done via an internal redirect.  When you switch protocols (ie, from
>http to https) you cannot do internal redirect.
>   
I was indeed afraid of that.

>But really, your login page doesn't need to be ssl secured as there is 
>no information in it.  What you want is the target of the from in that 
>page to be aimed at an SSL URL.  That's the transaction you want   
>secured, since that's where the id/password are sent.  
>   

Well
what i want to secure is the sending of the login/ password.
But i don t want at all to send the html pages in sll.  
Therefore i want to switch on ssl for sending the login and password and
switch back to http after when i set the cookie.
Is that possible?   


>-- 
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=  
>Vivek Khera, Ph.D.Khera Communications, Inc.   
>Internet: [EMAIL PROTECTED]   Rockville, MD   +1-240-453-8497  
>AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/ 
>   
>-- 



location of LoginScript in Apache::AuthCookie* modules

2002-06-14 Thread Eric Doutreleau


Hi

I 'm trying to use the Apache::AuthCoookieLDAP module to authenticate
my web users using my ldap server.

With the defaut configuration it works quite well.

Right now i would like to make user authenticate throug a SSL
page.
In order to do that i modify the configuration script to use

PerlSetVar WhatEverLoginScript https://corbeau/perl/login.pl

it work almost ok ( the cookie is set ) but in the login.pl
script i didn't get where i caome from. Therefore i can't set
the destination parameter.

has someone already done what i try to do before i m trying to reinvent
the wheel?

Thanks in advance for any help


-- 
Eric Doutreleau
I.N.T   | Tel   : +33 (0) 160764687
9 rue Charles Fourier   | Fax   : +33 (0) 160764321
91011 Evry   France | email : [EMAIL PROTECTED]