Posted by ifuschini 1 year 33 weeks ago
I have done a module for Apache Web Server that recognizes the device and redirect to the correct contents (WML, XHTML etc.) you have defined.
Also it's possible to resize dynamically the images depends of the device characteristics.
Do you think this module could be useful?
The project is Open Source, and the Device Repository is WURFL
For more information: http://www.idelfuschini.it/apache-mobile-filter.html




Posted by atrasatti 1 year ago
Mobile Genius
Ciao Idel,
I had seen your module a few weeks ago, and I think it is a very interesting approach. I think that calling it an "Apache filter", while very appropriate, made me think of something that was written in C and was part of Apache, I am not an expert of perl benchmarking, but what is the performance? Will it slow down every single request Apache receives?
In general, I think that the idea of having Apache set a few variables in the environment is very interesting, something that we were looking at for DeviceAtlas too.
Posted by ifuschini 1 year ago
Yes Andrea,
you have right, in C the filter is faster. I'm using the APR library (http://apr.apache.org/) and this increase the performance of my filter.
For the second query, the answer is: it's depend how you configure Apache. You can activate the filter for a particulr directory or for a specific extention type of file.
Idel
Mobile & Web 2.0 ConsultantPosted by ifuschini 1 year ago
Hi to everybody,
Mobile & Web 2.0 ConsultantI ahve to announce that I have realize the V1.51 of Apache mobile filter, now I think it's more stable and faster.
Posted by ifuschini 1 year ago
Hi,
the last v1.70 has several new feature like:
percentage of the screensize rendering
transcoding filter
for more info:
http://www.idelfuschini.it/apache-mobile-filter.html
Mobile & Web 2.0 ConsultantPosted by ifuschini 1 year ago
Hi,
I have just finished to publish the new version of my filter called V2. I did signficant changes like the architecture of the filter, and now I think the filter is mature.
The more important feature is that with my filter the developer have the capability values of the mobile device as Apache Environment variables.
For more info: http://www.idelfuschini.it/apache-mobile-filter-v2x.html
Mobile & Web 2.0 ConsultantPosted by ifuschini 1 year ago
Andrea,
I have pubblished on my site, the result of performance test of my "Apache Mobile Filter".
The direct link is http://www.idelfuschini.it/it/apache-mobile-filter-v2x.html?start=7
Let me know your opinion
Idel
Mobile & Web 2.0 ConsultantPosted by atrasatti 1 year ago
Mobile Genius
Sorry for the slow reply, that's definitely interesting Idel.
Keep your eyes peeled, because we have something interesting coming
very soon for DeviceAtlas too. ;)
Andrea
Posted by nachoburton 46 weeks ago
Has anything new been introduced by DeviceAtlas? I would be interested in something very similar to what Idel has done, but in C rather than Perl.
Posted by ifuschini 46 weeks ago
Hi Nachoburton,
first of all now the "Apache Mobile Filter" is one of the modules of "Apache Module Registry" portal (http://modules.apache.org/search.php?id=1787).
If I have a little bit of free time, I would like to include DeviceAtlas as another Device Repository that my filter is able to support.
C or Perl ? My module uses the APR (http://apr.apache.org/) and it is very fast. Perl it's a perfect language to manage string and array, so it's the ideal to develope a device detections logic.
Mobile & Web 2.0 ConsultantPosted by nachoburton 45 weeks ago
Hi Idel,
Just to be clear - I think what you've done is fantastic. I downloaded your code a few months ago and we took a good look at using it here at The Weather Channel. I would encourage everyone to go see it.
However, we get roughly 30 million page views per day on our main desktop site, plus another 5 million or so on the mobile site, so the throughput for the filter needs to be lightning fast for us - and our experience with mod_perl in the past leads us to believe that a C implementation of any Apache module is going to be much faster than one that uses Perl. For us, milliseconds are precious commodities - for others, probably not so much.
Posted by daniel.hunt 45 weeks ago
Mobile Grandmaster
Hey guys,
We actually already have a DeviceAtlas C++ API and Apache Module (which relies on the C++ API) :)
You can find them listed on the DeviceAtlas products page.
And, as already mentioned, there are significant performance gains to be found by using a C++ implementation over a scripted one! Even on a very weak laptop it got 100k detections per second... do you think that's fast enough for you? :)
If you need any more information you can contact us directly, or reply here and I'll try to help you out more if I can.
Daniel
Daniel HuntdotMobi
Posted by ifuschini 37 weeks ago
Hi nachoburton,
I only see now your question, I did some simple test on my laptop with one webserver. In this is the result of my test:
470 Device Detected per second (every detection extracts 10 default capabilites as environment variable).
So in 24h 40.608.000 device detection for each webserver is not bad for an open source
project.
Last info from the 2.20 the Apache Mobile Filter is defined as suite, with this modules:
WURFLFilter, for device detection
Mobile & Web 2.0 ConsultantImageRenderFilter, to adapte the image on the fly
AMFSwitcher, to redirect the device on the correct site
AMFCarrierDetection, to detect the carrier by ip address
AMFDeviceMonitor, a simple admin tool
Posted by ifuschini 37 weeks ago
Mobile & Web 2.0 Consultant
Mobile & Web 2.0 ConsultantPosted by amitjain9in 33 weeks ago
We just integrated AMF in our project. Its a great product.
I need some help in making Rewrite Rule using AMF. I need my activation link sent via email, to open web site if clicked from desktop and mobile site if clicked from mobile browser.
http://site.com/accountActivation?key=bc2f87b1-7216-4cd3-9053-97261f199f7f.
I have set perl env as below
PerlSetEnv MobileVersion http://site.com/mobile
PerlSetEnv FullBrowserUrl http://site.com/web
I need the remaining URl to be appended like
for mobile
http://site.com/mobile/accountActivation?key=bc2f87b1-7216-4cd3-9053-97261f199f7f.
for web
http://site.com/web/accountActivation?key=bc2f87b1-7216-4cd3-9053-97261f199f7f.
Please help with some pointers.
Thanks,
Amit