[ Thanks to Falko
Timme for this link. ]
“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.”