NameVirtualHost *:80 ServerName "server1.com" RedirectMatch permanent / http://server2.com/$1 ServerName "server2.com" ...