<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                > 近期由于要編寫多個項目,覺得一個一個的配置每個項目的網站站點是比較麻煩,后來聽說了虛假主機,就配置了一下。 ## 修改host文件 一般host文件都是在C:\Windows\System32\drivers\etc目錄下面的 在host文件下面添加 ~~~ 127.0.0.1 www.item1.com 127.0.0.1 www.item2.com ~~~ 記得將apache里的配置文件httpd.conf里的站點根目錄修改成上一級。 并且將Include前面的#號去掉。 ~~~ # Virtual hosts Include conf/extra/httpd-vhosts.conf ~~~ 然后在httpd-vhost.conf文件里配置。 在文件的末尾處是有配置的模板,只是被注釋掉了。在文件的末尾處添加 ~~~ <VirtualHost *:80> DocumentRoot "D:\apache\workspace\test1" ServerName www.test1.com ServerAlias test1.com ErrorLog "logs/test1-error.log" CustomLog "logs/test1-access.log" common </VirtualHost> <VirtualHost *:80> DocumentRoot "D:\apache\workspace\test2" ServerAdmin rapido@qq.com ServerName www.test2.com ServerAlias test2.com ErrorLog "logs/test2-error.log" CustomLog "logs/test2-access.log" common </VirtualHost> ~~~ 然后重啟一下apache服務器就可以根據域名訪問不同的項目了。 參考[博文](http://blog.csdn.net/xiaokui_wingfly/article/details/51481234)
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看