0
RewriteEngine on

RewriteBase /

RewriteCond %{HTTP_USER_AGENT} (Android|iPhone|iPod|Blackberry) [NC]
RewriteCond %{HTTP_HOST} !^m.reports.com [NC]
RewriteRule ^(.*)$ http://m.reports.com/$1 [QSA,L,R=301]

那不会重定向到我的新域.. 为什么?!!?

4

1 回答 1

0
RewriteRule ^(.*)$ http://m.reports.com/$1 [L,R=301]

你错过了http://.

于 2012-07-10T12:00:33.533 回答