Redirection en cas de mobile

astuces_jeux Messages postés 731 Date d'inscription mercredi 15 novembre 2000 Statut Membre Dernière intervention 27 mai 2010 - 25 févr. 2007 à 09:50
astuces_jeux Messages postés 731 Date d'inscription mercredi 15 novembre 2000 Statut Membre Dernière intervention 27 mai 2010 - 18 mai 2007 à 18:26
Bonjour,
J'ai créer un site http://www.cdd-pro.com
Et je l'ai testé avec un pocket pc et il était trop grand !
Le voudrai (si possible avec .htaccess) que si on se connect depuis un Pocketpc, un PDA ou un mobile on soit rediriger vers http://www.cdd-pro.com/mobile/
Etc-se que quelqu'un peut m'aider ???
Merci !

32 réponses

astuces_jeux Messages postés 731 Date d'inscription mercredi 15 novembre 2000 Statut Membre Dernière intervention 27 mai 2010
25 févr. 2007 à 16:14
je veux bien utiliser :
-php
-javascript dans page
-.js
-html
-htm
-dhtml
-css
-et se qui marche dans .php
0
juki_webmaster Messages postés 947 Date d'inscription mercredi 19 novembre 2003 Statut Membre Dernière intervention 5 avril 2008 3
25 févr. 2007 à 16:27
Salut,

Il faut ce basé sur l'user-agent que le client nous envoie, c'est a dire : $_SERVER['USER_AGENT'].

http://www.webrankinfo.com/forums/viewtopic_59813.htm

Tu va trouver ton bohonneur sur cette page :

http://www.zytrax.com/tech/web/mobile_ids.html
0
astuces_jeux Messages postés 731 Date d'inscription mercredi 15 novembre 2000 Statut Membre Dernière intervention 27 mai 2010
25 févr. 2007 à 16:31
je connais pas l'anglais
0
juki_webmaster Messages postés 947 Date d'inscription mercredi 19 novembre 2003 Statut Membre Dernière intervention 5 avril 2008 3
25 févr. 2007 à 16:51
arrete la prog alors.
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
astuces_jeux Messages postés 731 Date d'inscription mercredi 15 novembre 2000 Statut Membre Dernière intervention 27 mai 2010
25 févr. 2007 à 17:17
mais j'ai 11 ans et sur ton code j'ai vu des trucs sur les naviguateurs mais pas sur une redirection pour mobile tu peux m'aider ???
0
astuces_jeux Messages postés 731 Date d'inscription mercredi 15 novembre 2000 Statut Membre Dernière intervention 27 mai 2010
25 févr. 2007 à 17:32
svp je comprends pas aide-moi svp
0
juki_webmaster Messages postés 947 Date d'inscription mercredi 19 novembre 2003 Statut Membre Dernière intervention 5 avril 2008 3
25 févr. 2007 à 17:37
Pour rediriger un client HTTP il faut utiliser header('Location: pageportable.php');
Mais il faut en deduire si le client HTTP est sur un telephone portable ou sur un pc classique, c'est pourqoui ont utiliser l'USER AGENT.
Le client lorsqu'il demmande une page, il envoie (a de rares exceptions) sont user-agent (ce qui permet aussi de faire des statistiques).

Voila un exemple concrer, la page que je t'ais donner et qui est en anglais, est enfaite une liste assez grande de modeles d'user-agent qu'utilise certains modeles/marques de portables (et peut etre de PDA dans la liste).
http://www.webmaster-hub.com/index.php?showtopic=32014
3eme commentaires.

Si ton PDA n'est pas reconnu par son user-agent c'est que le code est mauvais, alors sauvegarde dans un fichier ou affiche l'user-agent du PDA pour ensuite l'implenter.

Je suis desolé mais voila encore un lien en anglais (le langage lui meme est comprensible meme si les commentaires sont en chinois, ici c'est pas du php, mais tu peux t'en inspire).
http://www.webmasterworld.com/forum45/260.htm

Normalement avec ces 4 liens tu devrais t'en sortir, te reste à adapter tes pages a un contenu mobile.
0
astuces_jeux Messages postés 731 Date d'inscription mercredi 15 novembre 2000 Statut Membre Dernière intervention 27 mai 2010
25 févr. 2007 à 18:19
je comprend pas !!!
0
astuces_jeux Messages postés 731 Date d'inscription mercredi 15 novembre 2000 Statut Membre Dernière intervention 27 mai 2010
25 févr. 2007 à 18:58
je suis grand débutant en php
0
astuces_jeux Messages postés 731 Date d'inscription mercredi 15 novembre 2000 Statut Membre Dernière intervention 27 mai 2010
25 févr. 2007 à 19:02
je sais faire une redirection et utiliser le user-agent maisje sais pas faire de redirection par l'user-agent choisis comme sur http://www.webmasterworld.com/forum45/260.htm
en php !
0
astuces_jeux Messages postés 731 Date d'inscription mercredi 15 novembre 2000 Statut Membre Dernière intervention 27 mai 2010
25 févr. 2007 à 19:21
J'aimerais bien faire un .htaccess comme ceci :
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} 'DoCoMo' [NC]
RewriteCond %{HTTP_USER_AGENT} 'KDDI-KC31 UP.Browser' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Vodafone' [NC]
RewriteCond %{HTTP_USER_AGENT} 'J-PHONE' [NC]
RewriteCond %{HTTP_USER_AGENT} 'J-PHONE' [NC]
RewriteCond %{HTTP_USER_AGENT} 'J-PHONE' [NC]
RewriteCond %{HTTP_USER_AGENT} 'J-PHONE' [NC]
RewriteCond %{HTTP_USER_AGENT} 'J-PHONE' [NC]
RewriteRule ^(.*) http://search.cdd-pro.com/pda/$1  [QSA,L]
Mais je sais pas se que je dois mettre dans les user_agent
tu peux m'aider svp???
0
astuces_jeux Messages postés 731 Date d'inscription mercredi 15 novembre 2000 Statut Membre Dernière intervention 27 mai 2010
25 févr. 2007 à 19:21
J'aimerais bien faire un .htaccess comme ceci :
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} 'DoCoMo' [NC]
RewriteCond %{HTTP_USER_AGENT} 'KDDI-KC31 UP.Browser' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Vodafone' [NC]
RewriteCond %{HTTP_USER_AGENT} 'J-PHONE' [NC]
RewriteCond %{HTTP_USER_AGENT} 'J-PHONE' [NC]
RewriteCond %{HTTP_USER_AGENT} 'J-PHONE' [NC]
RewriteCond %{HTTP_USER_AGENT} 'J-PHONE' [NC]
RewriteCond %{HTTP_USER_AGENT} 'J-PHONE' [NC]
RewriteRule ^(.*) http://search.cdd-pro.com/pda/$1  [QSA,L]
Mais je sais pas se que je dois mettre dans les user_agent
tu peux m'aider svp???
0
astuces_jeux Messages postés 731 Date d'inscription mercredi 15 novembre 2000 Statut Membre Dernière intervention 27 mai 2010
27 févr. 2007 à 16:04
J'AI UNE TECHNIQUE MAIS SUR LA FEUILLE AVEC LA LISTE D'AGENT QUE TU M'AS DONNE QUE DES AGENTS MOBILES, PDA ET POCKET PC ???
0
astuces_jeux Messages postés 731 Date d'inscription mercredi 15 novembre 2000 Statut Membre Dernière intervention 27 mai 2010
27 févr. 2007 à 16:56
J'ai réussit un code pour redirection en cas de mobile
mais j'ai une erreur 500 erreur interne au serveur
J'ai mis ceci dans .htaccess :
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/3.0 (compatible; AvantGo 3.2)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/5.0 (compatible; AvantGo 3.2; ProxiNet; Danger hiptop 1.0)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'DoCoMo/1.0/P502i/c10 (Google CHTML Proxy/1.0)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'DoCoMo/2.0 SH901iC(c100;TB;W24H12)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'DoCoMo/1.0/N503is/c10' [NC]
RewriteCond %{HTTP_USER_AGENT} 'KDDI-KC31 UP.Browser/6.2.0.5 (GUI) MMP/2.0' [NC]
RewriteCond %{HTTP_USER_AGENT} 'UP.Browser/3.04-TS14 UP.Link/3.4.4' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Vodafone/1.0/V802SE/SEJ001 Browser/SEMC-Browser/4.1' [NC]
RewriteCond %{HTTP_USER_AGENT} 'J-PHONE/5.0/V801SA/SN123456789012345 SA/0001JP Profile/MIDP-1.0' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/3.0(DDIPOCKET;JRC/AH-J3001V,AH-J3002V/1.0/0100/c50)CNF/2.0' [NC]
RewriteCond %{HTTP_USER_AGENT} 'PDXGW/1.0 (TX=8;TY=6;GX=96;GY=64;C=G2;G=B2;GI=0)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'ASTEL/1.0/J-0511.00/c10/smel' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/1.22 (compatible; MSIE 5.01; PalmOS 3.0) EudoraWeb 2.1' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC; 240x320)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/2.0 (compatible; MSIE 3.02; Windows CE; PPC; 240x320)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/5.0 (Windows; U; Windows CE 5.1; rv:1.8.1a3) Gecko/20060610 Minimo/0.016' [NC]
RewriteCond %{HTTP_USER_AGENT} 'OPWV-SDK UP.Browser/7.0.2.3.119 (GUI) MMP/2.0 Push/PO' [NC]
RewriteCond %{HTTP_USER_AGENT} 'UP.Browser/6.1.0.1.140 (Google CHTML Proxy/1.0)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/5.0 (Windows; U; Windows NT 5.1; ca; rv:1.5) Gecko/20031007' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Plucker/Py-1.4' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; PalmSource/Palm-D050; Blazer/4.3) 16;320x320)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.76 [en] (PalmOS; U; WebPro/3.0; Palm-Arz1)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.76 (compatible; MSIE 6.0; U; Windows 95; PalmSource; PalmOS; WebPro; Tungsten Proxyless 1.1 320x320x16)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (compatible;MSIE 6.0;Windows95;PalmSource) Netfront/3.0;8;320x320' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (compatible;MSIE 6.0;Windows95;PalmSource) Netfront/3.0' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.08 (Windows; Mobile Content Viewer/1.0) NetFront/3.2' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (PS2; PlayStation BB Navigator 1.0) NetFront/3.0' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (PDA; PalmOS/sony/model crdb/Revision:1.1.36(de)) NetFront/3.0' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (PDA; PalmOS/sony/model prmr/Revision:1.1.54 (en)) NetFront/3.0' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (PDA; Windows CE/0.9.3) NetFront/3.0' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (PDA; Windows CE/1.0.1) NetFront/3.0' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (PDA; SL-C750/1.0,Embedix/Qtopia/1.3.0) NetFront/3.0 Zaurus C750' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Xiino/1.0.9E [en] (v. 4.1; 153x130; g4)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'BlackBerry7100i/4.1.0 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/103' [NC]
RewriteCond %{HTTP_USER_AGENT} 'BlackBerry8703e/4.1.0 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/105' [NC]
RewriteCond %{HTTP_USER_AGENT} 'BlackBerry7130e/4.1.0 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/104' [NC]
RewriteCond %{HTTP_USER_AGENT} 'BlackBerry7250/4.0.0 Profile/MIDP-2.0 Configuration/CLDC-1.1' [NC]
RewriteCond %{HTTP_USER_AGENT} 'BlackBerry/3.6.0' [NC]
RewriteCond %{HTTP_USER_AGENT} 'BlackBerry7230/3.7.0' [NC]
RewriteCond %{HTTP_USER_AGENT} 'BlackBerry7230/3.7.1' [NC]
RewriteCond %{HTTP_USER_AGENT} 'BlackBerry7730/3.7.0' [NC]
RewriteCond %{HTTP_USER_AGENT} 'BlackBerry7730/3.7.1 UP.Link/5.1.2.5' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT) (compatible; MSIE 5.5; Windows NT)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'LG-LX550 AU-MIC-LX550/2.0 MMP/2.0 Profile/MIDP-2.0 Configuration/CLDC-1.1' [NC]
RewriteCond %{HTTP_USER_AGENT} 'LGE-CX5450 UP.Browser/6.2.2.3.d.1.103 (GUI) MMP/2.0' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC; 240x320; HP iPAQ h6300)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC; 240x320)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC; 240x320)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'MOT-V3i/08.B4.34R MIB/2.2.1 Profile/MIDP-2.0' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Configuration/CLDC-1.1 UP.Link/6.3.0.0.0' [NC]
RewriteCond %{HTTP_USER_AGENT} 'MOT-A-1C/01.01 UP.Browser/7.0.0.2.c.1.104 (GUI) MMP/2.0 UP.Link/5.1.2.16' [NC]
RewriteCond %{HTTP_USER_AGENT} 'MOT-V600/0B.09.38R MIB/2.2 Profile/MIDP-2.0 Configuration/CLDC-1.0' [NC]
RewriteCond %{HTTP_USER_AGENT} 'mot-V3/OE.40.79R MIB/2.2.1 profile/MIDP-2.0 configuration/CLDC-1.0 UP.Link/6.2.3.15.0' [NC]
RewriteCond %{HTTP_USER_AGENT} 'portalmmm/2.0 N410i(c20;TB)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Opera/9.00 (Nintendo Wii; U; ; 1309-9; en)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (compatible; MSIE 6.0; Nitro) Opera 8.50 [en Mozilla/4.0 (compatible; MSIE 6.0; Nitro) Opera 8.50 [ja]' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/2.0 (compatible; MSIE 3.02; Windows CE; Smartphone; 176x220)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.1 (compatible; MSIE 5.0; Symbian OS; Nokia 6600;432) Opera 6.10 [en]' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Opera/8.01 (J2ME/MIDP; Opera Mini/3.0.6306/1528; en; U; ssr)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'NokiaN80-3/1.0552.0.7Series60/3.0Profile/MIDP-2.0Configuration/CLDC-1.1' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (compatible; MSIE 6.0; ; Linux armv5tejl; U) Opera 8.02 [en_US] Maemo browser 0.4.31 N770/SU-18' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/5.0 (SymbianOS/9.1; U; en-us) AppleWebKit/413 (KHTML, like Gecko) Safari/413' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/5.0 (SymbianOS/9.1; U; en-us) AppleWebKit/413 (KHTML, like Gecko) Safari/413' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Nokia7610/2.0 (5.0509.0) SymbianOS/7.0s Series60/2.1 Profile/MIDP-2.0 Configuration/CLDC-1.0' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Nokia6680/1.0 (4.04.07) SymbianOS/8.0 Series60/2.6 Profile/MIDP-2.0 Configuration/CLDC-1.1' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (compatible; MSIE 5.0; Series80/2.0 Nokia9300/05.22 Profile/MIDP-2.0 Configuration/CLDC-1.1)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (compatible; MSIE 5.0; Series80/2.0 Nokia9500/4.51 Profile/MIDP-2.0 Configuration/CLDC-1.1)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Nokia6230/2.0+(04.43)+Profile/MIDP-2.0+Configuration/CLDC-1.1+UP.Link/6.3.0.0.0' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Nokia6630/1.0 (2.3.129) SymbianOS/8.0 Series60/2.6 Profile/MIDP-2.0 Configuration/CLDC-1.1' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Nokia7600/2.0 (03.01) Profile/MIDP-1.0 Configuration/CLDC-1.0 (Google WAP Proxy/1.0)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'NokiaN-Gage/1.0 SymbianOS/6.1 Series60/1.2 Profile/MIDP-1.0 Configuration/CLDC-1.0' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Nokia5140/2.0 (3.10) Profile/MIDP-2.0 Configuration/CLDC-1.1' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Nokia3510i/1.0 (04.44) Profile/MIDP-1.0 Configuration/CLDC-1.0' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.1 (compatible; MSIE 5.0; Symbian OS; Nokia 6600;452) Opera 6.20 [en-US]' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Nokia7250/1.0 (3.14) Profile/MIDP-1.0 Configuration/CLDC-1.0' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Nokia6800/2.0 (4.17) Profile/MIDP-1.0 Configuration/CLDC-1.0 UP.Link/5.1.2.9' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Nokia3650/1.0 SymbianOS/6.1 Series60/1.2 Profile/MIDP-1.0 Configuration/CLDC-1.0' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (compatible; MSIE 4.0; SmartPhone; Symbian OS/1.1.0) Netfront/3.1' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; O2 Xda 2mini; PPC; 240x320)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; Smartphone; 240x320; SPV C600; OpVer 11.1.3.5)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC; 240x320; SPV M2000; OpVer 5.31.1.124)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; Smartphone; 176x220; SPV C500; OpVer 4.1.3.0)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/2.0 (compatible; MSIE 3.02; Windows CE; Smartphone; 176x220)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; Smartphone; 176x220)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; PalmSource/Palm-TunX; Blazer/4.3) 16;320x448' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (compatible; MSIE 6.0; Windows 95; PalmSource; Blazer 3.0) 16;160x160' [NC]
RewriteCond %{HTTP_USER_AGENT} 'UPG1 UP/4.0 (compatible; Blazer 1.0)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC; 240x320)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/2.0 (compatible ; MSIE 3.02; Windows CE; PPC; 240x320)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0(compatible; MSIE 4.01; Windows CE; PPC; 240x320)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0(compatible; MSIE 4.01; Windows CE; PPC; 240x320)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC; 240x320)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; RegKing; 240x320)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (compatible; MSIE 6.0; Windows CE)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (compatible; MSIE 6.0; Windows CE)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.51 (compatible; Opera 3.62; EPOC; 640x480)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'EPOC32-WTL/2.0 (VGA) STNC-WTL/2.0(230)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Opera/8.01 (J2ME/MIDP; Opera Mini/1.1.2277/lofi/nordic/int; O2 Xda II; en; U; ssr)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'SEC-SGHE900/1.0 NetFront/3.2 Profile/MIDP-2.0 Configuration/CLDC-1.1' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Opera/8.01 (J2ME/MIDP; Opera Mini/2.0.4509/1378; nl; U; ssr)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'SEC-SGH600' [NC]
RewriteCond %{HTTP_USER_AGENT} 'SEC-SGHD410' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (compatible; MSIE 6.0; j2me) ReqwirelessWeb/3.5' [NC]
RewriteCond %{HTTP_USER_AGENT} 'AU-MIC/1.1.4.0 20722 MMP/2.0' [NC]
RewriteCond %{HTTP_USER_AGENT} 'SHARP-TQ-GX10i/1.0 Profile/MIDP-1.0 Configuration/CLDC-1.0 UP.Browser/6.1.0.6.1.d.1 (GUI)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'MMP/1.0' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (compatible; MSIE 5.0; Linux 2.4.18-rmk7-pxa3-embedix armv5tel; 480x640) Opera 6.0 [en]' [NC]
RewriteCond %{HTTP_USER_AGENT} 'SIE-S65/12 UP.Browser/7.0.0.1.c3 (GUI) MMP/2.0 Profile/MIDP-2.0' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Configuration/CLDC-1.1 UP.Link/5.1.2.16' [NC]
RewriteCond %{HTTP_USER_AGENT} 'SIE-ME45/05 UP.Browser/5.0.1.1.102 (GUI)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'SIE-S55/16 UP.Browser/6.1.0.5.c.4 (GUI) MMP/1.0 UP.Link/5.1.2.10' [NC]
RewriteCond %{HTTP_USER_AGENT} 'ReqwirelessWeb/3.2 S55' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Opera/8.01 (J2ME/MIDP; Opera Mini/2.0.4509/1558; en; U; ssr)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'SonyEricssonK610i/R1CB Browser/NetFront/3.3 Profile/MIDP-2.0' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Opera/8.01 (J2ME/MIDP; Opera Mini/1.0.1479/HiFi; SonyEricsson P900; no; U; ssr)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'SonyEricssonK700i/R2N SEMC-Browser/4.0.1 Profile/MIDP-2.0' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Opera/8.01 (J2ME/MIDP; Opera Mini/1.0.1479/HiFi; SonyEricsson P900; no; U; ssr)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'SonyEricssonT200/R101' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.1 (compatible; MSIE5.0; Symbian OS); Opera 6.02 [de]' [NC]
RewriteCond %{HTTP_USER_AGENT} 'SonyEricssonP800/R101 Profile/MIDP-1.0 Configuration/CLDC-1.0' [NC]
RewriteCond %{HTTP_USER_AGENT} 'SonyEricssonP900/R101 Profile/MIDP-2.0 Configuration/CLDC-1.0' [NC]
RewriteCond %{HTTP_USER_AGENT} 'SonyEricssonT610/R201 Profile/MIDP-1.0 Configuration/CLDC-1.0' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (PSP (PlayStation Portable); 2.00)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; Sprint:PPC-6700; PPC; 240x320)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (compatible; MSIE 5.5; Windows CE; PPC; 240x320)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Vodafone/1.0/HTC_prophet/2.15.3.113/Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC; 240x320)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.76 [en] (PalmOS; U; WebPro/3.0.1a; Palm-Cct1)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/2.0 (compatible; MSIE 3.02; Windows CE; 240x320)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/2.0 (compatible; MSIE 3.02; Windows CE; PPC; 240x320)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC; 240x320)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; MSN Companion 2.0; 800x600; Compaq)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.0 (compatible;MSIE 6.0;Windows95;PalmSource) Netfront/3.0;8;320x320' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/1.22 (compatible; MSIE 5.01; PalmOS 3.0) EudoraWeb 2.1' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/4.74 [en] (X11; I; ProxiNet)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/2.0 (compatible; Elaine/3.0)' [NC]
RewriteCond %{HTTP_USER_AGENT} 'Mozilla/2.0 (compatible; MSIE 3.02; Windows CE; 240x320)' [NC]
RewriteRule ^(.*) http://search.cdd-pro.com/pda/  [QSA,L]
0
vilhjalms Messages postés 591 Date d'inscription mercredi 20 juillet 2005 Statut Membre Dernière intervention 16 juillet 2009 2
27 févr. 2007 à 18:27
Saell og blesuð

Le mod-rewrite n'aime pas les espaces dans les HTTP_USER_AGENT donc il faut soit prendre des extraits sans espace soit les antislasher. Il se peux aussi qu il y d autres caracteres.
Par ailleurs remplacez vos [NC] par des [NC,OR] sauf pour le dernier bien sur. Mais ce n est qu un avis perso


Vilhjálms Sigurðsdóttir aka Frëyjá
0
astuces_jeux Messages postés 731 Date d'inscription mercredi 15 novembre 2000 Statut Membre Dernière intervention 27 mai 2010
28 févr. 2007 à 13:44
comment penses tu faire pour les user agent avec espace ???
0
vilhjalms Messages postés 591 Date d'inscription mercredi 20 juillet 2005 Statut Membre Dernière intervention 16 juillet 2009 2
28 févr. 2007 à 16:47
Saell og blesuð


"
donc il faut soit prendre des extraits sans espace soit les antislasher. (les espaces) " ...






Vilhjálms Sigurðsdóttir aka Frëyjá
0
astuces_jeux Messages postés 731 Date d'inscription mercredi 15 novembre 2000 Statut Membre Dernière intervention 27 mai 2010
28 févr. 2007 à 17:10
sa veut dire quoi antislasher ???
0
nildv Messages postés 40 Date d'inscription jeudi 22 décembre 2005 Statut Membre Dernière intervention 11 juin 2007
28 févr. 2007 à 17:17
Cela veut dire que tu dois les remplacer par des antislash
0
astuces_jeux Messages postés 731 Date d'inscription mercredi 15 novembre 2000 Statut Membre Dernière intervention 27 mai 2010
28 févr. 2007 à 17:32
les remplacer par des antislash ??? mais c'est quoi des antislashs ???
0
Rejoignez-nous