注册送现金一元秒提现

    1. <form id='y4tp0'></form>
        <bdo id='y4tp0'><sup id='y4tp0'><div id='y4tp0'><bdo id='y4tp0'></bdo></div></sup></bdo>

            <small id='ueoh7'></small><noframes id='ueoh7'>

          • <tfoot id='ueoh7'></tfoot>

              <legend id='ueoh7'><style id='ueoh7'><dir id='ueoh7'><q id='ueoh7'></q></dir></style></legend>
              <i id='ueoh7'><tr id='ueoh7'><dt id='ueoh7'><q id='ueoh7'><span id='ueoh7'><b id='ueoh7'><form id='ueoh7'><ins id='ueoh7'></ins><ul id='ueoh7'></ul><sub id='ueoh7'></sub></form><legend id='ueoh7'></legend><bdo id='ueoh7'><pre id='ueoh7'><center id='ueoh7'></center></pre></bdo></b><th id='ueoh7'></th></span></q></dt></tr></i><div id='ueoh7'><tfoot id='ueoh7'></tfoot><dl id='ueoh7'><fieldset id='ueoh7'></fieldset></dl></div>

                  <bdo id='ueoh7'></bdo><ul id='ueoh7'></ul>

                  1. <li id='ueoh7'><abbr id='ueoh7'></abbr></li>
                  2. <small id='jl139'></small><noframes id='jl139'>

                  3. <tfoot id='jl139'></tfoot>

                      <legend id='jl139'><style id='jl139'><dir id='jl139'><q id='jl139'></q></dir></style></legend>
                      <i id='jl139'><tr id='jl139'><dt id='jl139'><q id='jl139'><span id='jl139'><b id='jl139'><form id='jl139'><ins id='jl139'></ins><ul id='jl139'></ul><sub id='jl139'></sub></form><legend id='jl139'></legend><bdo id='jl139'><pre id='jl139'><center id='jl139'></center></pre></bdo></b><th id='jl139'></th></span></q></dt></tr></i><div id='jl139'><tfoot id='jl139'></tfoot><dl id='jl139'><fieldset id='jl139'></fieldset></dl></div>

                          <bdo id='jl139'></bdo><ul id='jl139'></ul>

                          1. <li id='jl139'><abbr id='jl139'></abbr></li>
                          2. 当前位置:首页 > PHP教程 > php环境安装 > 列表

                            Mac配置虚拟主机详细过程

                            发布:smiling 来源: PHP粉丝网  添加日期:2019-02-22 17:04:59 浏览: 评论:0 

                            一、启动Apache本文主要讲述了

                            注册送现金一元秒提现ZHONGDUANSHURU:sudo apachectl start

                            注册送现金一元秒提现ApacheDEANZHUANGMULUZAI:/etc/apache2/,etcMORENSHIYINZANGDE。YOUSANZHONGFANGSHICHAKAN:

                            1.ZHUOMIANWEIYUFinderSHI:shift+command+g,SHURU“/etc”(JIFinder-QIANWANG-QIANWANGWENJIANJIADEKUAIJIEJIAN)

                            注册送现金一元秒提现2.DAKAIZHONGDUAN:cd /etc

                            注册送现金一元秒提现3.KEYIZAIterminal SHURU "open /etc"

                            二、设置虚拟主机

                            1.ZAIZHONGDUANYUNXING“sudo vi /etc/apache2/httpd.conf”,DAKAIApcheDEPEIZHIWENJIAN

                            注册送现金一元秒提现2.ZAIhttpd.confZHONGZHAODAO“#Include /private/etc/apache2/extra/httpd-vhosts.conf”,QUDIAOQIANMIANDE“#”,BAOCUNBINGTUICHU。

                            注册送现金一元秒提现3.YUNXING“sudo apachectl restart”,ZHONGQIApacheHOUJIUKAIQILEXUNIZHUJIPEIZHIGONGNENG。

                            4.YUNXING“sudo vi /etc/apache2/extra/httpd-vhosts.conf”,JIUDAKAILEPEIZHIXUNIZHUJIWENJIANhttpd-vhost.conf,PEIZHIXUNIZHUJILE。XUYAOZHUYIDESHIGAIWENJIANMORENKAIQILELIANGGEZUOWEILIZIDEXUNIZHUJI

                            1. <VirtualHost *:80>  
                            2.  
                            3. ServerAdmin webmaster@dummy-host.example.com  
                            4.  
                            5. DocumentRoot "/usr/docs/dummy-host.example.com" 
                            6.  
                            7. ServerName dummy-host.example.com  
                            8.  
                            9. ErrorLog "/private/var/log/apache2/dummy-host.example.com-error_log" 
                            10.  
                            11. CustomLog "/private/var/log/apache2/dummy-host.example.com-access_log" common  
                            12.  
                            13. </VirtualHost>  
                            14.  
                            15. <VirtualHost *:80>  
                            16.  
                            17. ServerAdmin webmaster@dummy-host2.example.com  
                            18.  
                            19. DocumentRoot "/usr/docs/dummy-host2.example.com" 
                            20.  
                            21. ServerName dummy-host2.example.com  
                            22.  
                            23. ErrorLog "/private/var/log/apache2/dummy-host2.example.com-error_log" 
                            24.  
                            25. CustomLog "/private/var/log/apache2/dummy-host2.example.com-access_log" common  
                            26.  
                            27. </VirtualHost> 

                            注册送现金一元秒提现ERSHIJISHANG,ZHEILIANGGEXUNIZHUJISHIBUCUNZAIDE,ZAIMEIYOUPEIZHIRENHEQITAXUNIZHUJISHI,KENENGHUIDAOZHIFANGWENlocalhostSHICHUXIANRUXIATISHI:

                            Forbidden

                            You don't have permission to access /index.php on this server

                            注册送现金一元秒提现ZUIJIANDANDEBANFAJIUSHIZAITAMENMEIXINGQIANMIANJIASHANG#,ZHUSHIDIAOJIUHAOLE,ZHEIYANGJINENGCANKAOYOUBUDAOZHIQITAWENTI。

                            5.ZENGJIARUXIAPEIZHI,ZHICHIlocalhostFANGWEN,TIANJIAXUNIZHUJIFANGWEN

                            1. <VirtualHost *:80>  
                            2.  
                            3. DocumentRoot "/Library/WebServer/Documents" 
                            4.  
                            5. ServerName localhost  
                            6.  
                            7. ErrorLog "/private/var/log/apache2/localhost-error_log" 
                            8.  
                            9. CustomLog "/private/var/log/apache2/localhost-access_log" common  
                            10.  
                            11. </VirtualHost>  
                            12.  
                            13. <VirtualHost *:80>  
                            14.  
                            15. DocumentRoot "/Library/WebServer/Documents" 
                            16.  
                            17. ServerName 虚拟主机地址 (如:www.test.com) 
                            18.  
                            19. ErrorLog "/private/var/log/apache2/test-error_log" 
                            20.  
                            21. CustomLog "/private/var/log/apache2/test-access_log" common  
                            22.  
                            23. <Directory />  
                            24.  
                            25. Options Indexes FollowSymLinks MultiViews  
                            26.  
                            27. AllowOverride None  
                            28.  
                            29. Order deny,allow  
                            30.  
                            31. Allow from all  
                            32.  
                            33. </Directory>  
                            34.  
                            35. </VirtualHost> 

                            BAOCUN,TUICHU,ZHONGQIApache。

                            注册送现金一元秒提现6.YUNXING“sudo vi /etc/hosts”,DAKAIhostsPEIZHIWENJIAN,JIARU"127.0.0.1 www.test.com",ZHEIYANGJIUKEYIPEIZHIWANCHENGtestXUNIZHUJILE。

                            注册送现金一元秒提现DAKAILIULANQI,SHURU:www.test.com

                            It works!

                            PEIZHICHENGGONG,HElocalhostYIZHI!

                            Tags: Mac配置虚拟主机

                            分享到:

                            靠谱的棋牌---首页_Welcome 蓝洞棋牌官网送3金币---首页_Welcome 百灵拼三张-Welcome 聚友棋牌官网下载安装-首页 百胜棋牌---首页_欢迎您