您的位置:首页 > Web前端 > HTML

Directory index forbidden by Options directive: /var/www/html/

2015-08-18 15:48 309 查看
在errorlog里发现这句:Directory index forbidden by Options directive: /var/www/html/

于是搜索了一下发现以下这篇文章:

http://blog.sina.com.cn/s/blog_5e3455e70101kz1x.html

按照文中的方法,删掉了:

rm -f /etc/httpd/conf.d/welcome.conf  ← 删除测试页

rm -f /var/www/error/noindex.html  ← 删除测试页

之前htaccess修改后死活不起作用,现在主页终于出来了!撒花~!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: