亚洲最大看欧美片,亚洲图揄拍自拍另类图片,欧美精品v国产精品v呦,日本在线精品视频免费

  • 站長(zhǎng)資訊網(wǎng)
    最全最豐富的資訊網(wǎng)站

    如何設(shè)置apache虛擬目錄

    如何設(shè)置apache虛擬目錄

    具體方法如下:

    1、開啟“虛擬目錄配置文件”httpd-vhosts.conf

    文件路徑:wampbinapacheapache2.4.9confextrahttpd-vhosts.conf

    將以下配置:

    # Virtual hosts # Include conf/extra/httpd-vhosts.conf

    改為:

    # Virtual hosts Include conf/extra/httpd-vhosts.conf

    2、設(shè)置虛擬目錄可訪問

    文件路徑:wampbinapacheapache2.4.9confextrahttpd-vhosts.conf

    將以下配置:

    <Directory />   AllowOverride none   Require all denied   </Directory>

    改為:

    <Directory />   AllowOverride none   </Directory>

    3、添加虛擬目錄

    文件路徑:wampbinapacheapache2.4.9confextrahttpd-vhosts.conf

    添加虛擬目錄

    <VirtualHost *:80>   ServerAdmin webmaster@web.shop.com   DocumentRoot "D:/_HelloWorld/01_MyProjects/06_PHP/01_Web/Product/Source/Shop"   ServerName web.shop.com   ErrorLog "logs/web.shop.com-error.log"   CustomLog "logs/web.shop.com-access.log" common  </VirtualHost>

    4、重啟apache

    完成!

    推薦教程:apache從入門到精通

    贊(0)
    分享到: 更多 (0)
    網(wǎng)站地圖   滬ICP備18035694號(hào)-2    滬公網(wǎng)安備31011702889846號(hào)