Return-Path: Mailing-List: contact modperl-help@apache.org; run by ezmlm Delivered-To: mailing list modperl@apache.org Received: (qmail 58823 invoked from network); 12 Jun 2000 20:16:42 -0000 Received: from mail0.mailsender.net (209.132.1.30) by locus.apache.org with SMTP; 12 Jun 2000 20:16:42 -0000 Received: from rioja (24.232.33.119) by mail0.mailsender.net (5.1.034) id 393FDA1F000E7C30; Mon, 12 Jun 2000 13:15:19 -0700 Message-Id: <4.1.20000529104111.047c03d0@mail.freeweb.com.ar> X-Sender: hlife%freeweb.com.ar@mail.freeweb.com.ar X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Mon, 29 May 2000 10:42:14 -0300 To: Jerrad Pierce ,modperl@apache.org From: Ariel Manzur Subject: RE: Help writting a module for Apache. In-Reply-To: <8D18C4F9CBA1D311900F00A0C990C97F66DD4E@neimail.networkengi nes.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Are you sure? I tryed $ENV{AUTHORIZATION} in normal cgi scripts and in Apache::Registry and the variable is empty.. How do I use that module? At 16:00 12/06/2000 -0400, Jerrad Pierce wrote: >Apache::Authen? > >As for your method, 401 username password stuff is always accessible via: >$ENV{AUTHORIZATION} > > o _ > /|/ | Jerrad Pierce \ | __|_ _| > /||/ http://pthbb.org . | _| | > \|| _.-~-._.-~-._.-~-._@" _|\_|___|___| > > >> -----Original Message----- >> From: Ariel Manzur [mailto:hlife@freeweb.com.ar] >> Sent: Monday, May 29, 2000 09:09 >> To: modperl@apache.org >> Subject: Help writting a module for Apache. >> >> >> Hi.. >> >> I need Apache to do this: always ask for basic >> authentication, and then >> accept any conbination of username/password as correct, and set an >> enviroment variable with the password sent on the request, so I can >> retrieve that on a CGI script, and do the real authentication there. >> I couldn't find a way to do that with the 'standard' apache >> modules, so I >> have to write one, and I have some questions: >> >> - is that any module that alredy does that? :) >> - Can anyone point me to a "real life" example, or guide, on >> how to write >> and install a module using mod_perl? I use perl a lot, but I >> could find >> "easy" documentation on how to write modules (I don't want to >> read a _huge_ >> man page for this simple task) >> >> Can anyone help? Thanks!! >> >> Bye.. >> >> Ariel. >>