apache 虚拟主机设置
1:httpd.conf
Include "conf/extra/httpd-vhosts.conf"
<VirtualHost *:80> ServerAdmin webmaster@aaa.com DocumentRoot"e:/wrokspace/phpWorkspase/mossyoakgraphics" ServerName www.aaa.com<Directory "e:/wrokspace/phpWorkspase/mossyoakgraphics"> Options Indexes FollowSymLinksAllowOverride None Order allow,denyAllow from allSatisfy all </Directory></VirtualHost>
127.0.0.1 www.aaa.com