<VirtualHost www.a.com:80>
DocumentRoot "C:objectaweb"
ServerName http://www.a.com/
ServerAlias
<Directory "C:objectaweb">
Options FollowSymLinks ExecCGI
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>
<VirtualHost www.b.com:80>
DocumentRoot "C:objectWWWweb"
ServerName http://www.b.com/
ServerAlias
<Directory "C:objectWWWweb">
Options FollowSymLinks ExecCGI
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>
<VirtualHost 127.0.0.1:80>
DocumentRoot "C:objectWWW"
ServerName http://127.0.0.1/
ServerAlias
<Directory "C:objectWWW">
Options Indexes FollowSymLinks ExecCGI
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>
Options 项:
Indexes 显示目录结构