我按照以下步驟設置了Wamp,但無法從網絡中的其他計算機訪問服務器。我究竟做錯了什麼?Wamp服務器Put Online無法正常工作
- 安裝WAMP的64位版本3.0.4這個帶有Apache的版本2.4.18
- 開始WAMP的服務器,右鍵點擊系統托盤圖標,選擇
Menu item : Online/Offline
下Wamp settings
- 點擊(左點擊)系統托盤圖標,並選擇
Put Online
- 當我嘗試從另一臺計算機訪問該服務器的網絡中,服務器返回一個錯誤頁面顯示錯誤消息
You don't have permission to access/on this server
我直接編輯了httpd-vhosts.conf文件並重新啓動了所有服務,仍然收到相同的錯誤。下面是的httpd-vhosts.conf文件的內容和我的系統IP
的httpd-vhosts.conf
#
# Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
DocumentRoot C:/Users/dinesh/Softwares/Wamp64/www
<Directory "C:/Users/dinesh/Softwares/Wamp64/www/">
Options +Indexes +FollowSymLinks +MultiViews
AllowOverride All
Require local
Require ip 100.97.67
</Directory>
</VirtualHost>
系統IP
mintty> ipconfig | grep IPv4
IPv4 Address. . . . . . . . . . . : 100.97.67.11
mintty>
沒有的httpd-vhosts.conf在我的菜單 – Dinesh
我加了一些更多的信息,以我的答案 – RiggsFolly
我所做的更改的httpd-vhosts.conf並重新啓動所有服務,仍然得到同樣的錯誤 – Dinesh