#配置虚拟主机名NameVirtualHost 192.168.209.128DocumentRoot /htdocs/win ServerName www.a.com DocumentRoot /htdocs/manager CustomLog /htdocs/manager/home-access_log common ServerName www.b.com #配置对应目录访问权限Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all #配置完毕后重启Apache并修改host文件使www.a.com和www.b.com都指向192.168.209.128