<VirtualHost *:80>
ServerAdmin ffq@admin.com
directoryIndex index.html index.php index.htm index.shtml login.php
ServerName www.ffq.com
DocumentRoot d:/work/ffq
<Directory "d:/work/ffq">
Options -Indexes
AllowOverride All
Require all granted
</Directory>
</VirtualHost>原文:http://my.oschina.net/seago123/blog/350986