logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: How to differentiate between request from mobile and web
Author
prmjit



Joined: 19 Jun 2014
Posts: 9
Location: India, Mumbai

PostPosted: Fri 04 Jul '14 9:19    Post subject: How to differentiate between request from mobile and web Reply with quote

Hi,

As we are planning to implement Mobile for our platform, we want to distinguish between request coming from Mobile and Web in Apache.
We will be using Apache for Reverse Proxy and we want it to differentiate the request source and forward it to required destination.
Is this possible ?

Regards,
Param
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Thu 10 Jul '14 17:47    Post subject: Reply with quote

You could do that by checking the user agent. But it would be a lot easier to do that with the languge you wrote you website in. e.g. PHP has tons of scripts to detect mobile users.
Back to top


Reply to topic   Topic: How to differentiate between request from mobile and web View previous topic :: View next topic
Post new topic   Forum Index -> Apache