日期:2014-05-16 浏览次数:20962 次
RewriteEngine On RewriteCond %{REQUEST_URI} !^/xx.com/ RewriteCond %{HTTP_HOST} !^www\.xx\.com$ [NC] RewriteCond %{HTTP_HOST} ^([^\.]+)\.xx\.com$ [NC] RewriteRule ^/(.*)$ /xx.com/%1/$1/index.htm [L]