文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>Apache错误:Directory index forbidden by opti..

Apache错误:Directory index forbidden by opti..

时间:2010-04-28  来源:windj_cu

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/%[email protected]%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的锁机制。
相关阅读 更多 +
排行榜 更多 +
辰域智控app

辰域智控app

系统工具 下载
网医联盟app

网医联盟app

运动健身 下载
汇丰汇选App

汇丰汇选App

金融理财 下载