Apache+PHP多端口多站点_php

Apache+PHP多端口多站点_apache_02

Apache+PHP多端口多站点_php_03

Apache+PHP多端口多站点_html_04

Apache+PHP多端口多站点_html_05

Apache+PHP多端口多站点_php_06

#
# 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>