apache-virtual host
NameVirtualHost xxx.xxx.xxx.xxx:80
<VirtualHost xxx.xxx.xxx.xxx:80>
ServerName xxx.xxx.xxx.xxx
DocumentRoot D:/WWW
</VirtualHost>
<VirtualHost xxx.xxx.xxx.xxx:80>
ServerName baidu.com
DocumentRoot D:/wwwroot/baidu.com
<Directory "/apple">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost xxx.xxx.xxx.xxx:80>
ServerName www.baidu.com
DocumentRoot D:/wwwroot/baidu.com
<Directory "/apple">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost xxx.xxx.xxx.xxx:80>
ServerName google.com
DocumentRoot D:/wwwroot/google.com
<Directory "/site">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost xxx.xxx.xxx.xxx:80>
ServerName www.google.com
DocumentRoot D:/wwwroot/google.com
<Directory "/site">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost xxx.xxx.xxx.xxx:80>
ServerName qq.com
DocumentRoot D:/wwwroot/qq.com
<Directory "/weixin">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost xxx.xxx.xxx.xxx:80>
ServerName www.qq.com
DocumentRoot D:/wwwroot/qq.com
<Directory "/furuite">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>