Page 1 of 1

What is the optimal way to Apache-WURFL integration?

Posted: Mon Aug 01, 2011 9:54 am
by vitaly_il
Important Note from Site Admin: This thread is old. ScientiaMobile has announced WURFL Modules for the Apache Web Server, the NGINX Web Server and Varnish Cache reverse proxy in October 2012. More info can be found here: http://www.scientiamobile.com/support#cpp

----------------------
I run Apache 2 as webserver and Jboss 5 as appserver, with mod_jk.
What is the best way to use WURFL for redirecting mobile devices to specific URL?
I thought about using Jboss app, but it seems that there is no way to return value from Jboss to Apache.
I prefer not install PHP on my webserver.

TIA,
Vitaly

Re: What is the optimal way to Apache-WURFL integration?

Posted: Mon Aug 01, 2011 10:03 am
by luca.passani
just use the WURFL Java API to read the 'is_wireless_device' capability and understand whether its a mobile device or not.

Luca

Re: What is the optimal way to Apache-WURFL integration?

Posted: Mon Aug 01, 2011 11:47 am
by vitaly_il
thank you!
if I understand you properly, you suggest to run standalone Java code on webserver?

Re: What is the optimal way to Apache-WURFL integration?

Posted: Mon Aug 01, 2011 4:05 pm
by luca.passani
I have not dealt with connectors for some time, but the way I remember them is that Apache will simply pass the HTTP request on to the AppServer. At that point, Java code takes over and can do whatever it pleases with the request and with the response, including directing the client to one of many different URLs based on the value of some WURFL capability.

Re: What is the optimal way to Apache-WURFL integration?

Posted: Tue Aug 02, 2011 5:05 am
by vitaly_il
Yes, I know about this option. But I have too many flows (partitions + different scenarios), so I don't want to leave this logic to Apache, and just get some variable into Apache from some WURFL API.

Re: What is the optimal way to Apache-WURFL integration?

Posted: Tue Aug 02, 2011 7:19 am
by luca.passani
I see what you mean. We do not have an option in that space right now. But this is an idea we are playing with. Anyway, if we deliver a properly built Apache module in that space it won't be either cheap nor open-source.

Luca

Re: What is the optimal way to Apache-WURFL integration?

Posted: Tue Aug 02, 2011 8:16 am
by vitaly_il
sorry to hear that.
thank you anyway!

Re: What is the optimal way to Apache-WURFL integration?

Posted: Tue Oct 02, 2012 7:14 pm
by sm_support2
We have announced the availability of an Apache Module today

http://scientiamobile.com/blog/post/vie ... ng-Header-

Thank you