常用的配置:
<VirtualHost *:80>
ServerAdmin romy@redidai.com
DocumentRoot "D:/var/www/user_admin/"
ServerName user_admin.redidai.com
ErrorLog "logs/romy-redidai.com-error.log"
CustomLog "logs/romy-redidai.com-access.log" common
<Directory "D:/var/www/user_admin/">
allow from all
order allow,deny
AllowOverride All
</Directory>
DirectoryIndex index.html index.php
</VirtualHost>