Apache HTTP Server compiled within Apache Mobile Filter (AMF)
2.9K
Apache Mobile Filter (created by Idel Fuschini) is the easiest and fastest way to detect mobile devices. AMF is a suite of tools that allow access to a Device Repository (such as WURFL, DetectRight, 51Degrees or others) directly from Apache: now you can detect devices no matter what language your website uses.
amf.conf within the content (adjust to fit your needs):PerlSetEnv AMFMobileHome /data/amf
PerlSetEnv CapabilityList brand_name,model_name,max_image_width
PerlSetEnv AMFProductionMode true
PerlSetEnv CacheDirectoryStore /data/cache
PerlSetEnv ResizeImageDirectory /data/cache
PerlSetEnv ServerMemCached memcached:11211
/etc/httpd/conf.d/amf.conf<VirtualHost *:80>
DocumentRoot /data/app
Alias /images /data/images
PerlTransHandler +Apache2::AMFWURFLFilterMemcached
<Location /images/*>
Require all granted
SetHandler modperl
PerlOutputFilterHandler Apache2::AMFImageRendering
</Location>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
/etc/httpd/conf.d/revive.confdocker run -it \
-v $PWD/amf.conf:/etc/httpd/conf.d/amf.conf \
-v $PWD/my-app_vhost.conf:/etc/httpd/conf.d/my-app.conf \
diegomarangoni/apache-amf
Content type
Image
Digest
sha256:9179f3853…
Size
132.2 MB
Last updated
over 11 years ago
docker pull diegomarangoni/httpd-amf