Rewrite Rules for Mobile Phones

Alles, was den Apache betrifft, kann hier besprochen werden.

Rewrite Rules for Mobile Phones

Postby bigod » 16. June 2010 07:34

Hello,

i need to rewrite my users with mobiles (Iphones,Nokias,Blackberrys....) to a mobile optimazed website and the users with their pc webbrowsers to the regular website.
I need to solve it in the httpd.conf

For Example:

User with mobile will be redirected to http://www.example.com/mobile_profile.php
User with PC Webbrowser will be redirected to http://www.example.com/profile.php

Do someone have an idea how to handle it with apache httpd.conf?

Thanks

Bigod
bigod
 
Posts: 1
Joined: 16. June 2010 07:28

Re: Rewrite Rules for Mobile Phones

Postby Nobbie » 16. June 2010 22:14

Die Frage, die sich stellt, woran erkennt man, welcher Client die Seite anfordert. Und es ist die Frage, inwiefern diese Information mit mod_rewrite auswertbar ist.
Nobbie
 
Posts: 13182
Joined: 09. March 2008 13:04

Re: Rewrite Rules for Mobile Phones

Postby Pitze » 17. June 2010 18:32

Das ist kaum eine Sache des Webservers mehr des verandwordlichen für die Webseite so das der Browser nur die Formatierung einliest die für Handys, Bildschierm, Drucker usw erforderlich sind.
Der grösste Vertrauensbruch ist der Blitzableiter auf der Kirchturmspitze
User avatar
Pitze
 
Posts: 210
Joined: 20. November 2003 21:38
Location: Huskvarna-Schweden
Operating System: Windows Vista


Return to Apache

Who is online

Users browsing this forum: No registered users and 17 guests