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

时间:2014-08-29 16:16:38   收藏:0   阅读:271

    今天安装了一个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

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

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!