类似输入kaixin.com自动跳转到renren.com
Options +FollowSymLinks
RewriteEngine on
RewriteCond $1 !^(index\.php|images|style|js|system|Scripts|img|php|robots\.txt)
RewriteCond %{HTTP_HOST} ^example.com$ [NC]
RewriteRule ^(.*)$ http://www.123.com/$1 [R=301,L]
RewriteCond %{http_host} ^example.net [NC]
RewriteRule ^(.*)$ http://www.123.com/$1 [R=301,L]
RewriteRule ^(.*)$ index.php/$1 [L]上面这段代码就想把输入example.com和example.net时候自动跳转到123.com,请教一下有什么问题么?用的是CI框架