1. 程式人生 > >“Error 403--Forbidden”錯誤

“Error 403--Forbidden”錯誤

  在一個專案中遇到了如下的問題,網上狂搜索,沒找到產生的原因,還是自己研究吧,最後終於找到了原因:專案的web伺服器是Apache+weblogic,apache負責處理靜態頁面,由於apache要處理的首頁檔案index.html不知什麼原因丟失,所有出現瞭如下的錯誤,再次生成index.html,問題解決……有時候小問題也真難死人啊:(

Error 403--Forbidden

From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:

10.4.4 403 Forbidden

The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled, it SHOULD describe the reason for the refusal in the entity. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.