歡迎您光臨本站 註冊首頁
小知識  >  Apache >

apache 本地域名配置問題

admin @ 2017-12-03 reply:0
←手機掃碼閱讀

1、打開Apache2.2\conf\httpd.conf,把#Include conf/extra/httpd-vhosts.conf前面的「#」去掉。
2、打開Apache2.2\conf\extra\httpd-vhosts.conf,寫上:


    DocumentRoot 你的目標路徑1
    ServerName 訪問地址1

    DocumentRoot 你的目標路徑2
    ServerName 訪問地址2



[admin via ] apache 本地域名配置問題已經有773次圍觀

http://coctec.com/room/show-1550.html