From ae107b8d9bcc16cc4a11b7f409eef317d0559507 Mon Sep 17 00:00:00 2001
From: Brett Bieber <brett.bieber@gmail.com>
Date: Thu, 13 Jan 2011 15:49:17 +0000
Subject: [PATCH] Add rewrite condition that checks that the user agent is not
 an ipad (untested)

---
 README | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/README b/README
index 1a879ab..229448d 100644
--- a/README
+++ b/README
@@ -15,6 +15,9 @@ RewriteCond %{QUERY_STRING} !mobile=no$
 # If cookie wdn_mobile = no, don't redirect
 RewriteCond %{HTTP_COOKIE} !^.*wdn_mobile=no.*$ [NC]
 
+# If iPad user, don't auto-redirect to mobile
+RewriteCond %{HTTP_USER_AGENT} !ipad [NC]
+
 # if the browser accepts these mime-types, it's definitely mobile, or pretending to be
 RewriteCond %{HTTP_ACCEPT} "text\/vnd\.wap\.wml|application\/vnd\.wap\.xhtml\+xml" [NC,OR]
 
-- 
GitLab