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:[EMAIL PROTECTED]]
>> Sent: Monday, May 29, 2000 09:09
>> To: [EMAIL PROTECTED]
>> 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.
>>