欢迎来到国产伦一区二区三区免费!

Apache

当前位置: 主页 > 服务器教程 > Apache

Apache 2.4.2无法访问错误代码为403的解决方法

时间:2017-11-22 18:32:16|栏目:Apache|点击:

2.4.2版本的apache中需要在目录下面添加 Require all granted,否则无论怎么访问都是403,悲了个催的!具体报错如下:
[Fri Aug 10 19:07:13.263893 2012] [authz_core:error] [pid 8918:tid 1126259008] [client 192.168.123.102:53420] AH01630: client denied by server configuration: /tmp
[root@db1 ~]# grep -v '^#' /usr/local/apache/conf/extra/httpd-vhosts.conf |grep -v '^$'
<VirtualHost *:80>
  ServerName 192.168.123.110
  <Location />
  Order deny,allow
  Deny from all
  </Location>
</VirtualHost>
<VirtualHost *:80>
  ServerName   file.zyku.net
  DocumentRoot /tmp
    <Directory /tmp>
    Options +indexes
    Order allow,deny
    Allow from all
    Require all granted
    </Directory>
</VirtualHost>

上一篇:暂无

栏    目:Apache

下一篇:Apache的并发数量优化设置教程

本文标题:Apache 2.4.2无法访问错误代码为403的解决方法

本文地址:https://qireyouxi.com/Apache/107.html

欧美精品一区二区 | 国产日韩欧美 | 版权申明

欧美一区二区三区免费观看视频

联系QQ:国产伦一区二区三区高清 | 邮箱:中国欧美日韩一区二区三区

琼ICP备xxxxxxxx号