views:

4

answers:

0

I'm trying to exclude the 'iPad' user agent from being redirected like other mobile devices. I know that the value of HTTP_USER_AGENT includes the word iPad, so I put a line in like below, but it unfortunately doesn't make a difference. Does anyone have any suggestions on how this might be done? Thanks!

RewriteCond %{HTTP_ACCEPT} "text\/vnd\.wap\.wml|application\/vnd\.wap\.xhtml\+xml" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "sony|symbian|nokia|samsung|windows ce|epoc|opera" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "mini|nitro|j2me|midp-|cldc-|netfront|mot|up.browser|up.link|audiovox"[NC,OR]
RewriteCond %{HTTP_USER_AGENT} "blackberry|ericsson,|panasonic|philips|sanyo|sharp|sie-"[NC,OR]
RewriteCond %{HTTP_USER_AGENT} "portalmmm|blazer|avantgo|danger|palm|series60|palmsource|pocketpc"[NC,OR]
RewriteCond %{HTTP_USER_AGENT} "smartphone|rover|ipaq|au-mic,|mobile|alcatel|ericy|vodafone/|wap1.|wap2.|iphone|android|ipod"[NC]
RewriteCond %{HTTP_USER_AGENT} !"ipad"[NC]
RewriteRule ^mobile/index.html$ http://m.colby.edu [NC,L]