#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen 12.34.56.78:80
Listen 80
Listen 8081
Listen 8082
Listen 8083
<VirtualHost *:8081>
##ServerAdmin webmaster@dummy-host2.example.com
DocumentRoot "D:/xampp/htdocs/storehelper"
ServerName local.storehelper.com
<Directory "D:/xampp/htdocs/storehelper">
DirectoryIndex index.php index.htm index.html
AllowOverride all
Order Deny,Allow
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
##ServerAdmin webmaster@dummy-host2.example.com
DocumentRoot "D:/xampp/htdocs/yunlutong"
ServerName local.yunlutong.com
<Directory "D:/xampp/htdocs/yunlutong">
DirectoryIndex index.php index.htm index.html
AllowOverride all
Order Deny,Allow
Allow from all
</Directory>
</VirtualHost>
本文转自TBHacker博客园博客,原文链接:http://www.cnblogs.com/jiqing9006/p/5732620.html,如需转载请自行联系原作者