<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
RewriteEngine On
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/javascript
##index.html 跳转到 /
RewriteCond %{HTTP_HOST} ^bbb.com [NC,OR]
RewriteCond %{HTTP_HOST} ^www.bbb.com [NC]
RewriteCond %{HTTP_USER_AGENT} "!(baidu.Transcoder|mini|android|blackberry|googlebot-mobile|iemobile|Mobile|ipad|iphone|ipod|opera mobile|palmos|webos|ucweb|Windows Phone|Symbian|hpwOS)" [NC]
RewriteRule ^index.html$ https://www.bbb.com [L,R=301]
RewriteCond %{HTTP_HOST} ^m.bbb.com [NC]
RewriteRule ^index.html$ https://m.bbb.com [L,R=301]
RewriteCond %{HTTP_HOST} ^bbb.com [NC,OR]
RewriteCond %{HTTP_HOST} ^www.bbb.com [NC]
RewriteCond %{HTTP_USER_AGENT} "(baidu.Transcoder|mini|android|blackberry|googlebot-mobile|iemobile|Mobile