Stronbox website will be moving to in the next weeks
Strongbox Support Email:
Clonebox website will be moving to
Clonebox Email:

Webalizer or other stats not showing user names?

Somewhere in the global section of your httpd.conf, which is the top portion, add this new log format. It's the same as the standard "combined" format, except that it gets the username from an environment variable rather than from the request_rec:

LogFormat "%h %l %{REMOTE_USER}e %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" strongbox

 The above should all be on one line.

 Then find the CustomLog line(s) for that domain,
 which will look something like this:
 CustomLog "/var/logs/httpd/YOURSITE.COM/access_log" "combined"

 Change where it says "combined" to "strongbox":
 CustomLog "/var/logs/httpd/YOURSITE.COM/access_log" "strongbox"
 Then restart Apache to have your changes take effect:
 /etc/init.d/apache restart

This page is read-only |
Last edited 2008-12-18 3:10 pm