• 修改http-vhosts.conf

    DocumentRoot "C:\yourfile"
    ServerName www.xxx.site
    ServerAlias xxx.site
  
      Options FollowSymLinks ExecCGI
      AllowOverride All
      Order allow,deny
      Allow from all
      Require all granted
  



    DocumentRoot "C:\yourfile2"
    ServerName d2.xxx.site
    ServerAlias d2.xxx.site
  
      Options FollowSymLinks ExecCGI
      AllowOverride All
      Order allow,deny
      Allow from all
      Require all granted