【PHP】phpstudy vhosts.conf 配置

#Listen 876

<VirtualHost *:876>
    ServerName localhost
    DocumentRoot "D:phpStudyPHPTutorialWWW"    
    DirectoryIndex index.html index.php
  <Directory "D:phpStudyPHPTutorialWWW">
      Options FollowSymLinks ExecCGI
      AllowOverride All
      Order allow,deny
      Allow from all
     Require all granted
  </Directory>
</VirtualHost>


<VirtualHost *:876>
    DocumentRoot "E:000XXX"
    ServerName hr.flc.world
    ServerAlias 
  <Directory "E:000XXX">
      Options FollowSymLinks ExecCGI
      AllowOverride All
      Order allow,deny
      Allow from all
     Require all granted
  </Directory>
</VirtualHost>
原文地址:https://www.cnblogs.com/defineconst/p/10245707.html