在xampp新增了一个virtualhost:

<VirtualHost 127.0.0.11:80>  
   DocumentRoot E:/workspacePHP/personalSite
   ServerName 127.0.0.11:80  
</VirtualHost>  

<Directory "E:/workspacePHP/personalSite">  
   Options Indexes FollowSymLinks 
   AllowOverride All 
   Order Allow,Deny
   Allow from all  
</Directory>
然后访问http://127.0.0.11:80,出现403禁止访问错误,google之后发现httpd.conf文件有默认的配置,
<Directory "D:/xampp/cgi-bin">
    AllowOverride All
    Options None
    Require all denied
</Directory>

修改require为all granted即可。

<Directory "D:/xampp/cgi-bin">
    AllowOverride All
    Options None
    Require all granted
</Directory>

或者在新增的Directory增加require all granted:

<Directory "E:/workspacePHP/personalSite">  
   Options Indexes FollowSymLinks 
   AllowOverride All 
   Order Allow,Deny
   Allow from all  
   Require all granted
</Directory>

遇到的问题,此处mark一下。