zoukankan      html  css  js  c++  java
  • apache-virtual host

    NameVirtualHost xxx.xxx.xxx.xxx:80
    <VirtualHost xxx.xxx.xxx.xxx:80>
            ServerName xxx.xxx.xxx.xxx
            DocumentRoot D:/WWW
    </VirtualHost>
    <VirtualHost xxx.xxx.xxx.xxx:80>
            ServerName baidu.com
            DocumentRoot D:/wwwroot/baidu.com
            <Directory "/apple">
                    Options Indexes FollowSymLinks
                    AllowOverride None
                    Order allow,deny
                    Allow from all
            </Directory>
    </VirtualHost>
    <VirtualHost xxx.xxx.xxx.xxx:80>
            ServerName www.baidu.com
            DocumentRoot D:/wwwroot/baidu.com
            <Directory "/apple">
                    Options Indexes FollowSymLinks
                    AllowOverride None
                    Order allow,deny
                    Allow from all
            </Directory>
    </VirtualHost>
    <VirtualHost xxx.xxx.xxx.xxx:80>
            ServerName google.com
            DocumentRoot D:/wwwroot/google.com
            <Directory "/site">
                    Options Indexes FollowSymLinks
                    AllowOverride None
                    Order allow,deny
                    Allow from all
            </Directory>
    </VirtualHost>
    <VirtualHost xxx.xxx.xxx.xxx:80>
            ServerName www.google.com
            DocumentRoot D:/wwwroot/google.com
            <Directory "/site">
                    Options Indexes FollowSymLinks
                    AllowOverride None
                    Order allow,deny
                    Allow from all
            </Directory>
    </VirtualHost>
    <VirtualHost xxx.xxx.xxx.xxx:80>
            ServerName qq.com
            DocumentRoot D:/wwwroot/qq.com
            <Directory "/weixin">
                    Options Indexes FollowSymLinks
                    AllowOverride None
                    Order allow,deny
                    Allow from all
            </Directory>
    </VirtualHost>
    <VirtualHost xxx.xxx.xxx.xxx:80>
            ServerName www.qq.com
            DocumentRoot D:/wwwroot/qq.com
            <Directory "/furuite">
                    Options Indexes FollowSymLinks
                    AllowOverride None
                    Order allow,deny
                    Allow from all
            </Directory>
    </VirtualHost>

  • 相关阅读:
    WDF CSS 书写规范
    瞬间之美web界面设计如何让用户心动 读后感(一)
    ubuntu install node0.8.9 to the current user
    js单元测试_jsTestDriver
    window.print
    Java内省
    jQuery源代码学习jQuery对象扩展
    jdk集合结构
    【转载】程序员(1)
    【装载】JAVA虚拟机的内存模型
  • 原文地址:https://www.cnblogs.com/magics/p/4642081.html
Copyright © 2011-2022 走看看