0
我已經做了一個jQuery的移動應用程序。現在,我只想在移動設備上運行該網址,而桌面設備是虛假的。移動應用程序htaccess文件的用戶代理
經過很長時間我正在嘗試應用程序文件夾中的index.html存在的htaccess文件。
我htaccess文件是
RewriteCond %{REQUEST_URI} !^/http://originalsite.com/.*$
RewriteCond %{HTTP_USER_AGENT} "android|blackberry|ipad|iphone|ipod|iemobile|opera mobile|palmos|webos|googlebot-mobile" [NC]
RewriteRule ^(.*)$ /http://www.othersite.com/ [L,R=302]
現在我無法得到我的網站的效果。
有什麼我錯過了嗎?