It was thus said that the Great Joshua Slive once stated:
> 
> On 12/7/05, Senthil Nathan <[EMAIL PROTECTED]> wrote:
> > hi all,
> >
> > my application running on Apache 2 on mod_perl 2 uses htaccess to
> > authenticate. so i need to get the username and the password who is
> > authenticated to login for passing it to a different command in the scrip=
> t.
> 
> You should probably ask on the mod_perl list.  Normal cgi scripts
> can't do this for security reasons, but mod_perl has access to apache
> internals, so there might be a way.

  Well, CGI scripts are passed the authentication method (Basic or Digest)
and the userid in the environment variables:

                AUTH_TYPE
                REMOTE_USER

  What is not passed is the password the user typed.  

  -spc


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to