Hello Ariel

When you return "OK" from your authentication module that gives apache the
thumbs up authentication accepted. So possibly you might be trying to
authenticate a user that has already been authenticated when you run your
CGI script.

Ian

----- Original Message -----
From: "Ariel Manzur" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 09, 2000 8:37 PM
Subject: Can't get 'PerlAuthenHandler' to work.


> Hi..
>
> I wrote a module that asks for authentication, and sets enviroment
> variables with the username and password, and returns "OK" (I do the
actual
> authentication on a CGI script later). I put this on the .htaccess file:
>
> AuthType          Basic
> AuthName          "Name of the Authentcation Realm"
> Require           valid-user
> PerlAuthenHandler AuthEnv
>
> ('AuthEnv' is the name of the module), but apache still authenticates
> against the system passwords (/etc/passwd), and the module doesn't appear
> to be running. What is the correct way to use PerlAuthenHandler?
>
> Thanks.. Bye.
>
> Ariel.
>
>

Reply via email to