apache服务器出现You don’t have permission to access / on this server. 问题的解决办法

发布时间:2025-09-30 点击:33
今天章郎虫在配置apache服务器的时候在web目录里面放了很多网站的目录,我的想法是在浏览器里面输入网址后可以列出目录。可是一切设置完成,在浏览器中输入本地地址后,出现“you don’t have permission to access / on this server.”的 提示。在网上胡乱找了下后,总算是解决了问题。
在apache的安装目录找到“/conf/httpd.conf”文件,这里定义了默认对网站根的访问权限。
#?each?directory?to?which?apache?has?access?can?be?configured?with?respect
#?to?which?services?and?features?are?allowed?and/or?disabled?in?that
#?directory?(and?its?subdirectories).
#
#?first,?we?configure?the?“default”?to?be?a?very?restrictive?set?of
#?features.
#
<directory?/>
options followsymlinks
allowoverride none
order deny,allow
deny from all
</directory>


移动互联网时代 O2O收银系统让商家完美转型
极速云服务器购买平台
商标注册是否可以是拼音
阿里云的域名可以拿到西部数码来备案吗
MongoDB:Mark Porter将作为新的CTO带来构建数据持久性平台的经验
便宜云服务器多少钱
非线性数据结构有哪些
百度云服务器bbc租用