httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@conman.org (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 <rsennat@gmail.com> 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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message