It was thus said that the Great Joshua Slive once stated: > > On 12/7/05, Senthil Nathan <rsennat@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx