Thank you for this example but it is talking about how to define the Authz and Authen handlers, it is asuming that you are using AuthType Basic, " When Apache sends the HTTP header with this code, the browser will normally pop up a dialog box that prompts the user for login information."
That is just what I want to change, instead of using a pop dialog, the brower should send the user to a form. Juan Manuel Parrilla Gutierrez El 21 de enero de 2010 18:31, Morad IGMIR <sysad...@alliancemca.com>escribió: > http://perl.apache.org/docs/2.0/user/handlers/http.html#PerlAuthenHandler > > > > this should help > > > > *De :* Juan Manuel Parrilla Gutiérrez [mailto:joanma...@gmail.com] > *Envoyé :* jeudi 21 janvier 2010 18:26 > *À :* mod_perl list > *Objet :* Re: Use form instead of AuthType Basic (pop-up windows) > > > > 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 <a...@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. > > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 9.0.730 / Virus Database: 271.1.1/2635 - Release Date: 01/21/10 > 08:34:00 >