首页 > Web开发 > 详细

apache访问提示Directory index forbidden by Options directive: /var/www/html/解决方法

时间:2014-08-29 16:16:38      阅读:269      评论:0      收藏:0      [点我收藏+]

    今天安装了一个apache,配置了一个主机,以访问提示403,查看日志提示Directory index forbidden by Options directive: /var/www/html/,百度查了一下,有人说用一下方式解决:

rm -f /etc/httpd/conf.d/welcome.conf  ← 删除测试页
rm -f /var/www/error/noindex.html  ← 删除测试页

然后重启apache,挺好使,删除了重启访问就正常了

本文出自 “linux开源-不断的总结....” 博客,请务必保留此出处http://fantefei.blog.51cto.com/2229719/1546533

apache访问提示Directory index forbidden by Options directive: /var/www/html/解决方法

原文:http://fantefei.blog.51cto.com/2229719/1546533

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!