环境:wamp架设多网站 在 httpd-vhosts.conf 文件后加入 <virtualhost :80> ServerName 6856.cc RedirectMatch Permanent ^/(.*) http://www.6856.cc/$1 </virtualhost> 转载于:https://www.cnblogs.com/pcx69/p/3661299.html