httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rich Bowen <rbo...@rcbowen.com>
Subject Re: [users@httpd] Android device ID not show on access_log
Date Fri, 07 Dec 2012 01:46:21 GMT

On Dec 6, 2012, at 7:50 PM, Chau Pham wrote:

> No, it isn't a header, it's just general situation.

Client information is passed to apache httpd via headers. In this case, it would be in the
HTTP_USER_AGENT header, which, when I access my server from my Android device, looks like

Mozilla/5.0 (Linux; Android 4.2.1; Nexus 7 ... and so on

So, yeah, you'd want to log the HTTP_USER_AGENT header.

See http://httpd.apache.org/docs/2.4/mod/mod_log_config.html#formats for details on how to
configure your log file to log this value.

-- 
Rich Bowen
rbowen@rcbowen.com :: @rbowen
rbowen@apache.org







Mime
View raw message