httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <>
Subject Re: [users@httpd] Using Authenticaion information
Date Tue, 12 Jun 2007 13:09:50 GMT
On 6/12/07, Nasar Sharif <> wrote:
> Hi,
> After successfully authenticating a user using htpasswd/htaccess file
> mechanism, I'd like to get the username and the IP address and pass it
> to a perl script so that i can log the information. Please let me know
> how can i do this.

See the environment variables REMOTE_USER and REMOTE_ADDR. The CGI
spec has more details.


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