Apache Version: 2.4.33 提示You don'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 的错误

原文地址:https://www.cnblogs.com/mengguanghui/p/10121529.html

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

Apache Version: 2.4.33 提示You don't have permission to access / on this server 的错误的相关文章

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> .....

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

Apache 2.4权限设置( you don&#39;t have permission to access / on this server Apache2.4)

摘要 you don't have permission to access / on this server Apache2.4 Apache 从2.2升级到 Apache2.4.x 后配置文件 httpd.conf 的设置方法有了大变化,以前是将 deny from all 全部改成 Allow from all 实现外网访问,现在是将 Require all denied 以及 Require local 都该为 Require all granted 就可以了. .htaccess 如果

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 <

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 </D

Apache(httpd) 报错You don&#39;t have permission to access /on this server.

项目需要,增加个访问端口,指向不同目录. 但是一直报"You don't have permission to access /on this server."错误 配置文件语法检查: #/etc/init.d/httpd configtest 或 apachectl -t 直接输入:/etc/init.d/httpd 会新显示选项 [[email protected] ~]# /etc/init.d/httpd  Usage: httpd {start|stop|restart|co