Welcome! Log In Create A New Profile

Advanced

ngx_http_browser_module

Aleksandr Sytar
March 05, 2011 06:52AM
Имеем на уровне сервер:

modern_browser unlisted;

ancient_browser msie 4.0;
ancient_browser msie 5.0;
ancient_browser msie 5.5;
ancient_browser msie 6.0;

log_format browser '"$http_user_agent" = $ancient_browser = $modern_browser';

На уровне сервер регистрируем

access_log /var/log/browser.log browser;

На выходе странные данные:

"Opera/9.80 (Windows NT 5.1; U; ru) Presto/2.7.62 Version/11.01" = 1 =
"Mozilla/5.0 (compatible; YandexImages/3.0; +http://yandex.com/bots)" = 1 =
"Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.2.13)
Gecko/20101203 Firefox/3.6.13" = 1 =
"Mozilla/5.0 (compatible; Googlebot/2.1;
http://www.google.com/bot.html)" = 1 =
"Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.2.13)
Gecko/20101203 Firefox/3.6.13" = 1 =
"Mozilla/5.0 (compatible; Yahoo! Slurp;
http://help.yahoo.com/help/us/ysearch/slurp)" = 1 =
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.1)" = 1 =
"Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0;
MRSPUTNIK 2, 4, 0, 153; MRA 5.7 (build 03773); SLCC2; .NET CLR
2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC
6.0; .NET4.0C; InfoPath.2; Tablet PC 2.0)" = 1 =

Как так?

--
Have a nice day

_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

ngx_http_browser_module

Aleksandr Sytar March 05, 2011 06:52AM

Re: ngx_http_browser_module

Maxim Dounin March 05, 2011 07:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 191
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready