perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan Manuel Parrilla Gutiérrez <joanma...@gmail.com>
Subject Re: Use form instead of AuthType Basic (pop-up windows)
Date Thu, 21 Jan 2010 17:25:37 GMT
Hello, I am sorry if I didnt explain me properly.
What I want to know is understand how use a formulary instead of AuthType
Basic. I know there are several modules that are doing this, but it is not
about using one, it is about understanding how.

I am doing my own Auth module (just to learn about it and mod_perl) and I
would like to use a form instead of pop up window, and using CGI is not an
option because I want to use Authz and Authen handlers.

What I need are the basic steps to move from AuthType Basic to use a form.

Thank you very much for all your answers,
Juan Manuel Parrilla Gutierrez

2010/1/21 André Warnier <aw@ice-sa.com>

> Juan Manuel Parrilla Gutiérrez wrote:
>
>> Hello, this is my first message to this list and I am also a bit new to
>> mod_perl.
>> My question is simple, in all the documentation I have found about
>> mod_perl
>> and auth (like practical mod perl, or writing apache modules in perl and
>> c)
>> they are always using AuthType Basic, so when the users tries to acess
>> some
>> protected content, a pop up windows will appear to ask for name/pass.
>>
>> What I want to do is to use a formulary instead of that pop-up window. As
>> far as I know looking at AuthCookie, for example, there they define
>> "AuthType Sample::AuthCookie" and they also define a login.pl and
>> different
>> configs in the conf files.
>>
>> I want to know the different steps to define and use a form instead of
>> AuthType Basic.
>>
>>  Have a look here :
> http://cpan.uwinnipeg.ca/htdocs/Apache-AuthCookie/Apache2/AuthCookie.html
> and scroll to the section
> THE LOGIN SCRIPT
>
> If you install that module, it comes along with examples.
> AAA is tricky, and maybe not the easiest way to start playing with
> mod_perl.  But this documentation is well-done, and should get you started,
> if you follow it carefully.
>
>

Mime
View raw message