What is the optimal way to Apache-WURFL integration?

Are you absolutely, positively sure that your question does not fit anywhere else?
vitaly_il
Posts: 4
Joined: Mon Aug 01, 2011 9:46 am

What is the optimal way to Apache-WURFL integration?

Postby vitaly_il » Mon Aug 01, 2011 9:54 am

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

luca.passani
Posts: 65
Joined: Thu May 19, 2011 2:49 pm

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

Postby luca.passani » Mon Aug 01, 2011 10:03 am

just use the WURFL Java API to read the 'is_wireless_device' capability and understand whether its a mobile device or not.

Luca

vitaly_il
Posts: 4
Joined: Mon Aug 01, 2011 9:46 am

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

Postby vitaly_il » Mon Aug 01, 2011 11:47 am

thank you!
if I understand you properly, you suggest to run standalone Java code on webserver?

luca.passani
Posts: 65
Joined: Thu May 19, 2011 2:49 pm

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

Postby luca.passani » Mon Aug 01, 2011 4:05 pm

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.

vitaly_il
Posts: 4
Joined: Mon Aug 01, 2011 9:46 am

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

Postby vitaly_il » Tue Aug 02, 2011 5:05 am

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.

luca.passani
Posts: 65
Joined: Thu May 19, 2011 2:49 pm

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

Postby luca.passani » Tue Aug 02, 2011 7:19 am

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

vitaly_il
Posts: 4
Joined: Mon Aug 01, 2011 9:46 am

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

Postby vitaly_il » Tue Aug 02, 2011 8:16 am

sorry to hear that.
thank you anyway!

sm_support2
Posts: 294
Joined: Mon Jun 20, 2011 5:04 pm

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

Postby sm_support2 » Tue Oct 02, 2012 7:14 pm

We have announced the availability of an Apache Module today

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

Thank you


Who is online

Users browsing this forum: No registered users and 18 guests