请问apache中如何用htaccess获取域名的一部分呢?我想要实现的效果是:把 abc.subdomain.example.com/xx 重定向到 subdomain.example.com/abc/xx请高人指点,谢谢!
RewriteEngine OnRewriteRule ^XX abc/XX