※本篇內文資訊參考如下※
- -
※更新文章日期: 2016-01-06
網頁403 Forbidden錯誤
Forbidden
You don’t have permission to access /mqtt/ on this server.
Apache/2.2.22 (Debian) Server at 192.168.0.149 Port 80
當你發現執行php發生這樣的錯誤時
馬上打開apache的配置文件httpd.conf
Apache設定檔預設路徑【/etc/httpd/conf/httpd.conf】
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
這裡的“Deny from all”拒絕了一切。把該行改成“allow from all”