-
Notifications
You must be signed in to change notification settings - Fork 0
AMFTrace
ifuschini edited this page Mar 21, 2018
·
1 revision
Overview
The goal of this this configuration is to trace (on error_log file) the UserAgent not detected by AMF. Open the file httpd.conf of your webserver. And configure this few parameter:
Prerequisite
AMFWURFLFilter or AMFWURFLFilter must be configured and loaded.
Configuration 1
PerlSetEnv AMFMobileHome /server_root/MobileFilter PerlSetEnv AMFTraceDebug false PerlModule Apache2::AMFWURFLFilter PerlTransHandler +Apache2::AMFWURFLFilter PerlTransHandler +Apache2::AMFTrace
Configuration 2
The goal of this this configuration is to trace the wurfl capabities on error_log file, is useful for statistic and debug your applications. Open the file httpd.conf of your webserver. And configure this few parameter:
PerlSetEnv AMFMobileHome /server_root/MobileFilter PerlSetEnv AMFTraceDebug true PerlSetEnv AMFTraceCapability id,brand_name PerlModule Apache2::AMFWURFLFilter PerlTransHandler +Apache2::AMFWURFLFilter PerlTransHandler +Apache2::AMFTrace
Example of error_log output:
[Mon Mar 22 10:45:42 2010] [warn] [client ::1] AMFTrace - id=mozilla_ver5|brand_name=generic web browser | User_Agent:Mozilla/5.0 (Macintosh; U;Intel Mac OS X 10_6_2; it-it) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7
Tutorial