網頁

2010年8月19日 星期四

【Apache】Internet 403 Forbidden. You don't have permission to access \ on this server.

剛灌好Apache Server 結果才輸入http://localhost/ 卻出現這個錯誤...

Internet 403 Forbidden.

You don't have permission to access \ on this server.


其實這是 Apache 的設定檔問題
開啟 httpd.conf 尋找<Directory />

可以找到以下設定值:
<Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    deny from all
    Satisfy all
</Directory>

把deny from all改成 allow from all 就可以了

存檔後重新啟動Apache後再試一次應該就不會再出現先前的問題

沒有留言:

張貼留言