Apache2::WURFLMobile is an implementation of the Apache filter in Perl, The module detects the mobile device and passes the WURFL capabilities on to the other web application as environment variables. It can also be used to resize images on the fly to adapt to the screen size of the mobile device.
A good point to start is: <http://wurfl.sourceforge.net>
I don't try to install in Win32 platform, but I suppose it's run well.

PREREQUISITES

This suite requires Perl 5; I tested it only under Perl 5.8.8.

Text::LevenshteinXS requires 
mod_perl 2.0 for Apache 2.X.X
CGI-Lite

Apache 2.x.x
WURFL.xml

Knowledge about Apache configuration

Library I used:

Apache2::Filter
Apache2::RequestRec
Apache2::RequestUtil
Apache2::SubRequest
Apache2::Log
CGI::Cookie
Text::LevenshteinXS
APR::Table
LWP::Simple
Image::Resize
Apache2::Const
IO::Uncompress::Unzip
File::Copy

INSTALLATION
You need install and configure Apache 2.x

Before you start to use my application you need to install mod_per 2.x and configure your apache, this is the right link:

Download - http://perl.apache.org/download/index.html
Documentation - http://perl.apache.org/docs/index.html
The second step is to install the other packages, you can found here:

http://search.cpan.org/

Now you can start to install my package:


1) perl Makefile.PL
2) sudo make install


3) open the file conf/httpd.conf and add this few commands:

PerlSetEnv WurflNetDownload true
PerlSetEnv DownloadWurflURL http://downloads.sourceforge.net/wurfl/wurfl-latest.zip***
PerlSetEnv DownloadZipFile false
PerlSetEnv ConvertImage true
PerlSetEnv ResizeImageDirectory /transform
PerlSetEnv ConvertOnlyImages false
PerlSetEnv Log4WurflNoDeviceDetect /apache2_dev/WurflLog/DeviceNotFound.log
PerlSetEnv LoadWebPatch true
PerlSetEnv DirWebPatch /apache2_dev/Apache2/web_browsers_patch.xml   
PerlSetEnv PatchWurflNetDownload true
PerlSetEnv PatchWurflUrl http://wurfl.sourceforge.net/web_browsers_patch.xml
PerlSetEnv RedirectTranscoder true
PerlSetEnv RedirectTranscoderUrl /transcoderpage.html (default is "none" that mean the filter pass through)

PerlModule Apache2::WURFLFilter
PerlTransHandler +Apache2::WURFLFilter

<Location /mobile/*>
	SetHandler modperl
    PerlInputFilterHandler Apache2::ImageRenderFilter 
</Location> 

4) Follow the Instructions the URL is:

http://www.idelfuschini.it/it/apache-mobile-filter-v2x.html

5) Remember to define where to keep the Device Repository WURFL you have two option:

1) Download WURFL.xml here: http://wurfl.sourceforge.net/wurfl.zip and copy into directory you have define into MOBILE_HOME 
2) define a URL where you can download the WURFL.xml, good if you need to manage several mobile web server




AVAILABILITY

The latest version of Apache2::WURFLMobile is available from the
CPAN <http://search.cpan.org/> 


COPYRIGHT

Copyright 2009 Idel Fuschini <idel.fuschini@gmail.com>

This package is free software and is provided "as is" without express
or implied warranty.  You can redistribute it and/or modify it under 
the same terms as Perl itself.