Re: Help writting a module for Apache.

2000-06-13 Thread Vegard Vesterheim
Ariel Manzur <[EMAIL PROTECTED]> writes: > 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,

Re: Help writting a module for Apache.

2000-06-12 Thread Ariel Manzur
At 17:58 12/06/2000 -0400, J. J. Horner wrote: >On Mon, 29 May 2000, Ariel Manzur wrote: >> - 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

Re: Help writting a module for Apache.

2000-06-12 Thread J. J. Horner
On Mon, 29 May 2000, Ariel Manzur wrote: > 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

RE: Help writting a module for Apache.

2000-06-12 Thread Ariel Manzur
The script is inside a password protected directory, so if I can access the script, it means I sent a correct username and password (right?). The "AUTHORIZATION" key inside %ENV doesn't exist.. There is a $ENV{'AUTH_TYPE'}, it contains "basic".. I tested it on apache 1.3.6 and 1.3.3.. At 16:16 12

RE: Help writting a module for Apache.

2000-06-12 Thread Jerrad Pierce
b.org . | _| | \|| _.-~-._.-~-._.-~-._@" _|\_|___|___| > -Original Message- > From: Ariel Manzur [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 29, 2000 09:42 > To: Jerrad Pierce; [EMAIL PROTECTED] > Subject: RE: Help writting a module for Apache. > > > Are you sure? I tryed $ENV{AU

RE: Help writting a module for Apache.

2000-06-12 Thread Ariel Manzur
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{AUTHOR

RE: Help writting a module for Apache.

2000-06-12 Thread Jerrad Pierce
Apache::Authen? As for your method, 401 username password stuff is always accessible via: $ENV{AUTHORIZATION} o _ /|/ | Jerrad Pierce \ | __|_ _| /||/ http://pthbb.org . | _| | \|| _.-~-._.-~-._.-~-._@" _|\_|___|___| > -Origina