国产探花免费观看_亚洲丰满少妇自慰呻吟_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的鎖機制。

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 新和县| 两当县| 麻栗坡县| 虎林市| 贡觉县| 崇仁县| 宜良县| 安泽县| 阿城市| 莱阳市| 左贡县| 山东| 原阳县| 凤山县| 阳春市| 贵阳市| 宁阳县| 宁国市| 大渡口区| 富顺县| 涡阳县| 读书| 吉首市| 东山县| 邯郸县| 博乐市| 曲阜市| 虎林市| 武定县| 竹山县| 双江| 信丰县| 永善县| 嘉荫县| 德惠市| 呼伦贝尔市| 绵竹市| 开鲁县| 边坝县| 阿克| 新竹县|