Created
June 22, 2012 14:50
-
-
Save thisisthechris/2973214 to your computer and use it in GitHub Desktop.
AR .htaccess
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SetEnvIf User-Agent "Android" allow_ua [NC] | |
SetEnvIf User-Agent "bada" allow_ua [NC] | |
SetEnvIf User-Agent "blackberry" allow_ua [NC] | |
SetEnvIf User-Agent "iPad" allow_ua [NC] | |
SetEnvIf User-Agent "iPhone" allow_ua [NC] | |
SetEnvIf User-Agent "iPod" allow_ua [NC] | |
SetEnvIf User-Agent "iemobile" allow_ua [NC] | |
SetEnvIf User-Agent "opera mobile" allow_ua [NC] | |
SetEnvIf User-Agent "palmos" allow_ua [NC] | |
SetEnvIf User-Agent "webos" allow_ua [NC] | |
SetEnvIf User-Agent "googlebot-mobile" allow_ua [NC] | |
Order deny,allow | |
deny from all | |
allow from env=allow_ua |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment