Apache+PHP多端口多站点

Apache+PHP多端口多站点

Apache+PHP多端口多站点

Apache+PHP多端口多站点

Apache+PHP多端口多站点

Apache+PHP多端口多站点

Apache+PHP多端口多站点

#
# 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,如需转载请自行联系原作者


上一篇:mac地址信息查询站点


下一篇:记 Python 在实际工作中的第一次应用