httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Grigsby <>
Subject [users@httpd] Proxypass not logging remote_user in access.log
Date Fri, 24 Oct 2003 00:18:41 GMT
We use proxypass and rewrite rules as a front-end to Zope. I noticed 
recently that our apache log files, which we use as our primary logging 
mechanism, did not contain remote user information. The logs do contain 
remote user information for for items that are not handled by proxypass.

To test my theory that the problem was related to proxypass, I made a 
very simple proxy pass configuration to test with:


     ErrorLog /var/log/apache/error.log
     TransferLog /var/log/apache/access.log

     ProxyPass /
     ProxyPassReverse /

Where is a password protected web site. When I 
access this page, I see the following log entries: - - [23/Oct/2003:16:44:22 -0700] "GET /members/ HTTP/1.1" 
401 8051 - - [23/Oct/2003:16:44:30 -0700] "GET /members/ HTTP/1.1" 
200 30954

What I would expect to see would be: - - [23/Oct/2003:16:44:22 -0700] "GET /members/ HTTP/1.1" 
401 8051 - username [23/Oct/2003:16:44:30 -0700] "GET /members/ 
HTTP/1.1" 200 30954

I've done quite a bit of searching on Google, the apache mailing list 
archives, and the zope list archives for someone describing a similar 
problem with proxypass to no avail. I've reviewed the apache mod_proxy, 
rewrite and logformat documentation and haven't found anything that 
sounds like it would help with this problem.

Does anyone have any thoughts on how to get the username (REMOTE_USER) 
recorded in the log files when you use proxypass?

Thank You,


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