httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <tevans...@googlemail.com>
Subject Re: [users@httpd] Android device ID not show on access_log
Date Fri, 07 Dec 2012 15:36:41 GMT
On Fri, Dec 7, 2012 at 7:28 AM, Chau Pham <chaupv79@hotmail.com> wrote:
> it works fine for computer, laptop, and apple(iphone, ipad) device
> however when I use Android then access_log in service side prints out:
>
> 172.16.33.124 - - [07/Dec/2012:13:29:37 +0900] "GET /data/playgirls-14.ts
> HTTP/1.1" 200 2103156 "-" "stagefright/1.2 (Linux;Android 4.0.4)"
>
>
> - client side, the header is:
>
>
> Mozilla/5.0 (Linux; U; Android 4.0.4; ko-kr; SHW-M380W Build/IMM76D)
> AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30

No, it isn't. The first request is issued by libstagefright, which is
a component of ffmpeg, and the second request is issued by the stock
android browser. Each can send whatever user agent header it desires.

Therefore, requests made by libstagefright on android do not contain
the device ID field that you want. There is nothing that httpd can do
to change this.

Cheers

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message