http://blogold.chinaunix.net/u/28814/showart_2186100.html
<VirtualHost *:80>
#ServerAdmin xxxx@gmail.com
DocumentRoot /var/www/localhost/docs/
ServerName www.abc.com
RewriteEngine On
rewriterule ^/(.*) http://www.efg.com [L]
L和P区别,跳转后是否隐藏www.efg.com域名
L不隐藏,P隐藏。