top
logo


Device Detection Configuration

AMFWURFLFilter (caching filesystem architecture)

Configuration

PerlSetEnv AMFMobileHome server_root/MobileFilter
PerlSetEnv CacheDirectoryStore /tmp


PerlSetEnv CapabilityList xhtml_table_support, is_wireless_device, etc...... #default is all 

PerlTransHandler +Apache2::AMFWURFLFilter

Remember:
before you start you must have the wurfl.xml file
if you want to update the wurfl.xml file each time you stop and start the Apache, you must specify with this parameter:

PerlSetEnv WurflNetDownload true
PerlSetEnv DownloadWurflURL http://downloads.sourceforge.net/wurfl/wurfl-latest.zip

If you want to detect the not mobile browser you must need to load the web_browser_patch.xml so set this parameter to true:

PerlSetEnv LoadWebPatch true

If you want to download directly from internet (it’s very slow):

PerlSetEnv PatchWurflNetDownload true
PerlSetEnv PatchWurflUrl http://wurfl.sourceforge.net/web_browsers_patch.xml


In production is suggested to set the AMFProductionMode on true:

PerlSetEnv AMFProductionMode true

TestPage: http://www.apachemobilefilter.org/test/php_test.php

AMFWURFLFilterMemcached (using memcached ideal for cluster architecture)

In this picture you can see how it's possible to configure AMF in cluster mode with Memcached:

The internal architecture is:

Configuration:

Open the file httpd.conf of your webserver. And configure this few parameter:

PerlSetEnv AMFMobileHome server_root/MobileFilter
PerlSetEnv ServerMemCached 10.0.0.15:11211,10.0.0.16:11211,/var/sock/memcahed

PerlSetEnv CapabilityList xhtml_table_support, is_wireless_device, etc...... #default is all 

PerlTransHandler +Apache2::AMFWURFLFilterMemCached


Remember:
before you start you must have the wurfl.xml file

if you want to update the wurfl.xml file each time you stop and start the Apache, you must specify with this parameter:
PerlSetEnv WurflNetDownload true
PerlSetEnv DownloadWurflURL http://downloads.sourceforge.net/wurfl/wurfl-latest.zip


If you want to detect the not mobile browser you must need to load the web_browser_patch.xml so set this parameter to true:

PerlSetEnv LoadWebPatch true

If you want to download directly from internet (it’s very slow):

PerlSetEnv PatchWurflNetDownload true
PerlSetEnv PatchWurflUrl http://wurfl.sourceforge.net/web_browsers_patch.xml

In production is suggested to set the AMFProductionMode on true:
PerlSetEnv AMFProductionMode true

TestPage: http://www.apachemobilefilter.org/test/php_test.php

Comments (2)
  • Eladio  - Update documentation in this page
    Hi,
    Here you speak about cookiecachesystem parameter, but is replaced with amfproductionmode.
    "...AMFProductionMode (the CookieCacheSystem is deprecated) is not setted the default value is false..."


    Possible you can delete comment from here once you updated docs :-D

    Thanks a lot for the improves.
  • Idel  - Thanks Eladio
    I have corrected the page.

    Idel
Write comment
Your Contact Details:
Comment:
[b] [i] [u] [url] [quote] [code] [img]   
Security
Please input the anti-spam code that you can read in the image.
 

Newsletter




AMF Activity

SourceForge.net - Recent activity for project: mobilefilter
Recent activity for the project mobilefilter

bottom
top

PhoneScoop

Mobility Site

WMLProgramming


bottom

IF sas di Idel Fuschini & C. P.IVA: 09659851001
Powered by Joomla!. Designed by: Free Joomla Themes, hosting. Valid XHTML and CSS.