Apache Virtual Host
turn on the virtual host configuration file
Look in the httpd.conf configuration file: #Include etc//Extra/httpd-Vhosts.conf (the default is the off state minus the previous # is turned on)
Open httpd-Vhosts.conf after the default httpd.conf in the host configuration information will expire all sites need to be all in httpd-Set in vhosts.conf
httpd-vhosts.conf file
Namevirtualhost 192.168. 1.3:
<VirtualHost192.168.1.3: the>
<Directory "E:\wamp\www\li">
Options Indexes FollowSymLinks
AllowOverride None
OrderAllowDeny
Allow from All
</Directory>
DocumentRoot "E:\wamp\www\li"
ServerName www.li.com
</VirtualHost>
<VirtualHost192.168.1.3: the>
<Directory "E:\wamp\www\chuang">
Options Indexes FollowSymLinks
AllowOverride None
OrderAllowDeny
Allow from All
</Directory>
DocumentRoot "E:\wamp\www\chuang"
ServerName www.chuang.com
</VirtualHost>
Apache Virtual Host