2.2版本:
<VirtualHost *:80>
DocumentRoot "D:/www/_dev1"
ServerName dev1
<Directory "D:/www/_dev1">
Directory Index index.html index.php ##索引目录
Order Deny Allow ##授予权限
Allow from all ##允许所有
</Directory>
</VirtualHost>
2.4版本
<VirtualHost *:80>
DocumentRoot "D:/www/_dev1"
ServerName dev1
<Directory "D:/www/_dev1">
Directory FollowSymLinks Index ##索引目录
AllowOverride All ##授予权限
Require all granted ##允许所有
</Directory>
</VirtualHost>