httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Irmund Thum <it...@it97.dyn.dhs.org>
Subject Re: Env variable info needed.
Date Sat, 05 Jan 2002 12:45:18 GMT
Saqib.N.Ali@seagate.com wrote:
> 
> $REMOTE_USER
> 
> Reema Desai <redesai@cisco.com> on 01/03/2002 11:11:09 PM
> 
> Please respond to users@httpd.apache.org
> 
> To:   apache_query <users@httpd.apache.org>
> cc:
> 
> Subject:  Env variable info needed.
> 
> Hi,
> 
> Can anybody tell me the name of the environment variable that stores the
> username when the user logs to a particular site  if the page is
> protected ?
> 
> Thanks & Regards,
> Reema.
the default config. has nick names for the log format like common,
combined, referer and agent;
%l logs the Remote Logname, %401u logs only a missed auth. etc.
use combined in the httpd.conf
example from access.log:
it97.dyn.dhs.org - Martina [01/Dec/2001:14:37:25 +0100] "GET
/php/hp/edit.php?fm=0&fl=0&sfn=1 HTTP/1.1" 200 8038
"http://it97.dyn.dhs.org/php/hp/edit.php" "Opera/5.0 (Linux 2.4.4-4GB
i586; U)  [en]"
if a format value is not set you'll see a - 
example with common log f. DNS off:
131.243.195.90 - - [12/Jun/2001:23:13:39 +0200] "GET / HTTP/1.1" 200
4005
%a 	- - 	%t				 %m	%H	%s	%b
and there are quite a lot more % for add. info...
-- 
_ ___
|  |  Irmund    Thum
|  |  +49 172 9508937

---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message