Re: Android device ID not show on access_log

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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@xxxxxxxxxxx :: @rbowen
rbowen@xxxxxxxxxx







[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux