Apache2: How To Redirect Users To Mobile Or Normal Web Site Based On Device Using mod_rewrite
Posted on: 09/09/2011 10:49 AM

Howtoforge posted a tutorial about redirecting users to mobile or normal website based on device using mod_rewrite

Apache2: How To Redirect Users To Mobile Or Normal Web Site Based On Device Using mod_rewrite


Since the massive rise of smartphones and tablets like the iPhone, iPad, Android phones and tablets, BlackBerries, etc. you might have considered creating a mobile version of your web site. This tutorial explains how to configure Apache to serve the mobile version of your web site if the visitor uses a mobile device, and the normal version if the visitor uses a normal desktop PC. This can be achieved with Apache's rewrite module.



Printed from Linux Compatible (http://www.linuxcompatible.org/news/story/apache2_how_to_redirect_users_to_mobile_or_normal_web_site_based_on_device_using_mod_rewrite.html)