<del id="d4fwx"><form id="d4fwx"></form></del>
      <del id="d4fwx"><form id="d4fwx"></form></del><del id="d4fwx"><form id="d4fwx"></form></del>

            <code id="d4fwx"><abbr id="d4fwx"></abbr></code>
          • apache虛擬主機(jī)配置一例

            2022-10-11    分類: 虛擬主機(jī)

            復(fù)制代碼 代碼如下:

            fivetrees extra # cat httpd-vhosts.conf_bak
            #
            # Virtual Hosts
            #
            # If you want to maintain multiple domains/hostnames on your
            # machine you can setup VirtualHost containers for them. Most configurations
            # use only name-based virtual hosts so the server doesn't need to worry about
            # IP addresses. This is indicated by the asterisks in the directives below.
            #
            # Please see the documentation at
            # <URL:http://httpd.apache.org/docs/2.2/vhosts/>
            # for further details before you try to setup virtual hosts.
            #
            # You may use the command line option '-S' to verify your virtual host
            # configuration.
            #
            # Use name-based virtual hosting.
            #
            NameVirtualHost *:80
            #NameVirtualHost *:443
            #
            # VirtualHost example:
            # Almost any Apache directive may go into a VirtualHost container.
            # The first VirtualHost section is used for all requests that do not
            # match a ServerName or ServerAlias in any <VirtualHost> block.
            #
            #<VirtualHost 192.168.1.66>
            #        RewriteEngine On
            #        RewriteMap      lowercase       int:tolower
            #        RewriteMap      vhost   txt:/usr/local/apache/conf/host.txt
            #        RewriteCond     %{HTTP_HOST}    !^$
            #        RewriteCond     ${lowercase:%{HTTP_HOST}|NONE}  ^(.+)$
            #        RewriteRule     ^/(.*...)$ ${vhost:%1...}/$1
            #</VirtualHost>
            <VirtualHost *:80>
                    DocumentRoot /opt/all_dir
                    ServerName *
            </VirtualHost>
            <VirtualHost *:80>
                    DocumentRoot /opt/1
                    ServerName 1.com
            </VirtualHost>
            <VirtualHost *:80>
                    DocumentRoot /opt/2
                    ServerName 2.com
            </VirtualHost>

             

            #<VirtualHost *:443>
            #        DocumentRoot /home/hello
            #        ServerName hello.baidu.com
            #</VirtualHost>

             

            文章題目:apache虛擬主機(jī)配置一例
            本文網(wǎng)址:http://www.jbt999.com/news2/204402.html

            網(wǎng)站建設(shè)、網(wǎng)絡(luò)推廣公司-創(chuàng)新互聯(lián),是專注品牌與效果的網(wǎng)站制作,網(wǎng)絡(luò)營(yíng)銷seo公司;服務(wù)項(xiàng)目有虛擬主機(jī)

            廣告

            聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:[email protected]。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)

            網(wǎng)站優(yōu)化排名

              <del id="d4fwx"><form id="d4fwx"></form></del>
              <del id="d4fwx"><form id="d4fwx"></form></del><del id="d4fwx"><form id="d4fwx"></form></del>

                    <code id="d4fwx"><abbr id="d4fwx"></abbr></code>
                  • 北条麻妃网址大全 | 波多野吉衣208在线 | 性爱免费视频毛片 | 98国产精品 | 天天久久夜夜一起射 |