国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 網站 > Apache > 正文

Apache錯誤:Directory index forbidden by op

2024-08-27 18:30:58
字體:
來源:轉載
供稿:網友

  web服務器訪問緩慢,查error.log顯示大量錯誤:

  Directory index forbidden by option directive:/usr/local/apache/htdocs

  查到比較好的答案:

  Just to note, the cause of these messages probably come from the mpm_common module, it's an internal dummy connection:

  http://mail-archives.apache.org/mod_mbox/httpd-users/200604.mbox/%3c4434308F.9030003@googlemail.com%3e

  the simple solution is to create an empty index.html file in the directory as mentioned above. I don't advise turning on Indexes, although that is another solution.

  開放目錄index肯定不是我們想要的,開發上傳一個新的index.html后發現新的報錯:

  [Wed Apr 28 11:50:14 2010] [error] [client 122.226.222.58] (13)Permission denied

  : access to /images/msgbox_alert.png denied, referer: http://www.abc.com/War

  .swf/[[DYNAMIC]]/3

  因遠程用戶非httpd的用戶,權限問題。

  重新上傳更新后解決。

  最初找到原因index.html文件被損壞,開發在生產環境上打包tar文件導致index.html(起碼發現了這個文件)被損壞,拷貝了一個好的index.html后,其他文件也發現損壞致使用戶無法訪問。

  不知道tar一個被讀取的文件怎么導致源文件損壞,可以深究一下tar的鎖機制。

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 南丰县| 庐江县| 扎兰屯市| 洛宁县| 泸州市| 淮阳县| 伊金霍洛旗| 乡城县| 游戏| 宁都县| 许昌市| 浦北县| 天镇县| 冷水江市| 金溪县| 平潭县| 米易县| 罗甸县| 浦城县| 高雄县| 广丰县| 磐安县| 重庆市| 吉首市| 杨浦区| 丰城市| 北辰区| 冕宁县| 新余市| 双鸭山市| 沽源县| 铜梁县| 昌吉市| 叙永县| 龙岩市| 攀枝花市| 鄂托克前旗| 泾阳县| 陈巴尔虎旗| 岳普湖县| 肃北|