2011-09-30 75 views
0

我正在使用php wurfl 1.3.1 with cakephp - 以下用戶代理正在被選爲不正確的移動瀏覽器。創建自己的wurfl異常

它是在Windows 7的機器上,64位版本的IE沒有問題,但32位版本重定向到移動。

(32位)[問題]

Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GetMiroToolbar 1.2; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2)

(64位)

Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; Tablet PC 2.0)

如果你對我有一個解決方法,也請讓我知道確保服務器正確讀取新配置的適當步驟。我只是清除WURFL緩存? 謝謝。

回答

0
web_browsers_patch.xml

添加以下線:

<device user_agent="Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GetMiroToolbar 1.2; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2)" 
     fall_back="msie" id="msie_8"> 
     <group id="product_info"> 
      <capability name="model_name" value="8.0" /> 
     </group> 
    </device>