httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Sean Conner)
Subject Re: [users@httpd] apache server - username and password
Date Thu, 08 Dec 2005 02:25:13 GMT
It was thus said that the Great Joshua Slive once stated:
> On 12/7/05, Senthil Nathan <> 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:


  What is not passed is the password the user typed.  


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message