错误 - 目录访问被禁止。如何摆脱它?尝试了所有的解 [英] Error -directory access is forbidden. How to get rid of it ? tried all solutions
本文介绍了错误 - 目录访问被禁止。如何摆脱它?尝试了所有的解的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在接受
Directory access is forbidden.
错误。
我该如何删除此错误?每当我创建一个子目录时,我的所有指令都会收到此错误。
我尝试过的事情:
1.清除缓存
从cpanel清除垃圾
error.
how can i remove this error ? i am getting this error on all my diretories whenever m making a sub directory.
What I have tried:
1.cleared cache
cleared trash from cpanel
推荐答案
要解决这个问题,你必须定义什么应显示:目录列表或默认页面(通常是索引页面)。
请参阅目录列表 - Httpd Wiki [ ^ ]用于所需的Apache配置设置。
To solve this you must define what should be displayed: A directory listing or a default page (usually an index page) when it is present.
See DirectoryListings - Httpd Wiki[^] for the required Apache configuration settings.
这篇关于错误 - 目录访问被禁止。如何摆脱它?尝试了所有的解的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文