首先本地hosts
然后 httpd-vhost 更改
重点copy了
http://jingyan.baidu.com/article/49ad8bce7661355834d8fad6.html
的代码
<VirtualHost *:80>
ServerName project.com
DocumentRoot "D:/Developing/project"
<Directory "D:/Developing/project">
Options FollowSymLinks IncludesNOEXEC Indexes
DirectoryIndex index.html index.htm index.php
AllowOverride all
Order Deny,Allow
Allow from all
Require all granted
</Directory>
</VirtualHost>