Apache 环境提示You don't have permission to access / on this server.

(本人只是在本地环境下遇到这个问题能这么处理,不确定服务器下如此修改是否会有安全问题)

找到apache配置文件,一般路径为 apache/httpd.conf ,搜索 "Deny from all",都修改为 allow from all ,如下所示

<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
allow from all
</Directory>

.....

.....

# onlineoffline tag - don‘t remove
Order Deny,Allow
Deny from all
Allow from all

</Directory>

Apache 环境提示You don't have permission to access / on this server.

时间: 2024-08-01 10:50:26

Apache 环境提示You don't have permission to access / on this server.的相关文章

Apache Version: 2.4.33 提示You don&#39;t have permission to access / on this server 的错误

需要修改 apache的配置文件  httpd.conf 和 httpd-chosts.conf 这两个配置文件 1.将httpd.conf 中的denied 修改为 granted 2 .把 httpd-chosts.conf 中的require local 修改为 require all granted 然后就可以了 Apache Version: 2.4.33 提示You don't have permission to access / on this server 的错误 原文地址:h

phpstudy无法访问主页,提示You don&#39;t have permission to access / on this server解决办法

1.输入localhost提示:You don't have permission to access / on this server. 新版phpStudy为了安全,取消Apache和nginx列出目录内容. phpStudy如何禁止或允许站点目录列表 请使用『其他选项菜单』-『phpStudy设置』-『允许目录列表』,打上对勾表示允许目录列表,去掉对勾表示禁止目录列表. 2.配置多域名的虚拟主机总是失败,提示You don't have permission to access / on

Forbidden You don&#39;t have permission to access / on this server

Apache: Forbidden You don't have permission to access / on this server 度娘了半天,屁用都没,都是老掉牙的. 最后google之,http://stackoverflow.com/questions/21551840/forbidden-you-dont-have-permission-to-access-on-this-server Found my solution thanks to Error with .htacce

Apache2.4中出现You don&#39;t have permission to access / on this server.

注意Apache2.4跟以前版本配置不一的啊,弄了我很久 在配置apache工作出错:You don't have permission to access / on this server. 默认的apache的工作目录为:/usr/local/apache2/htdocs/ 现在想修改为:/www 除了要修改:/usr/local/apache2/conf/http.conf文件中的工作目录:DocumentRoot "/www"外,记得要把对应的工作目录权限的地址一并修改过来,例

apache 提示You don&#39;t have permission to access /test.php on this server.怎样解决

把denty改成allow httpd.conf文件中. <Directory "cgi-bin"> AllowOverride None Options None Order allow,denyDeny from all -->将所有的Deny改成Allow</Directory> apache 提示You don't have permission to access /test.php on this server.怎样解决

apache 2.4.23 只能本地访问,其他用户不能访问,提示You don&#39;t have permission to access

这个版本的httpd.conf的配置方法跟原版本的设置不一样了. 需要在目录安全配置中 修改为 Require all granted 比如  把Require local 修改为Require all granted. 特别要注意,需将httpd-vhosts.conf中的配置也要一同修改. apache 2.4.23 只能本地访问,其他用户不能访问,提示You don't have permission to access 原文地址:https://www.cnblogs.com/laoji

WampServer出现You don’t have permission to access/on this server提示

WampServer出现You don't have permission to access/on this server提示 本地搭建WampServer,输入http://127.0.0.1访问正常,当输入http://localhost/,apache出现You don't have permission to access/on this server的提示,如何解决? 找到httpd.conf,用记事本打开httpd.conf,有两处需要修改: <Directory /> Opti

wamp出现You don’t have permission to access/on this server提示的解决方法

本地搭建wamp 输入http://127.0.0.1访问正常,当输入http://localhost/ apache出现You don't have permission to access/on this server.的提示 解决方法如下: 找到httpd.conf,用记事本打开httpd.conf,然后将 <Directory /> Options FollowSymLinks AllowOverride None Order deny,allow Deny from all <

Apache-You don&#39;t have permission to access / on this server. Apache, win 7

在win7环境下,apche报出You don't have permission to access / on this server.禁止访问,应该如何解决呢?可以试试下面的方法 第一:寻找配置文件:apache\apache2.2.22\conf\httpd.conf (修改配置文件之前,记得先做好备份,以免方案不对,影响原来的配置) 第二:用编辑器打开,寻找: #LoadModule rewrite_module modules/mod_rewrite.so 第三:删除本行开头的“#”,