Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: How to differentiate between request from mobile and web |
|
Author |
|
prmjit
Joined: 19 Jun 2014 Posts: 9 Location: India, Mumbai
|
Posted: Fri 04 Jul '14 9:19 Post subject: How to differentiate between request from mobile and web |
|
|
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
|
Posted: Thu 10 Jul '14 17:47 Post subject: |
|
|
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 |
|
|
|
|
|
|