php错误:You don't have permission to access / on this server.
来源:互联网 发布:浙江国税网络发票查询 编辑:程序博客网 时间:2024/05/29 04:55
以前php环境崩溃了,重新装了个,打开第一个文件就出现:
You don't have permission to access / on this server.错误,让我情以何堪啊,居然说我此台服务器上无权限,ok解决办法如下:
找到:apache文件,进入conf文件,打开httpd.conf 文件,做如下修改:
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Satisfy all
</Directory>
修改成
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
# Deny from all
Allow from all
#允许所有访问
Satisfy all
</Directory>
第二处:找到:
# onlineoffline tag - don't remove
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>
修改成:
# onlineoffline tag - don't remove
Order Deny,Allow
# Deny from all
# Allow from 127.0.0.1
Allow from all
</Directory>
0 0
- php错误:You don't have permission to access / on this server.
- 局域网访问Apache PHP错误:Forbidden You don't have permission to access / on this server.
- PHP错误:Forbidden You don't have permission to access / on this server. 解决办法
- PHP错误:Forbidden You don't have permission to access / on this server.
- php错误:You don't have permission to access / on this server.
- PHP错误:Forbidden You don't have permission to access / on this server.
- php错误:You don't have permission to access / on this server.
- You don't have permission to access / on this server
- You don't have permission to access /*** on this server
- You don't have permission to access / on this server.
- You don't have permission to access on this server.
- You don't have permission to access / on this server.
- You don't have permission to access ××× on this server.
- You don't have permission to access / on this server
- You don't have permission to access / on this server.
- You don’t have permission to access/on this server
- You don't have permission to access / on this server.
- You don't have permission to access / on this server.
- 程序员必须知道的10大基础实用算法及其讲解
- 每日5题(线程)
- PAT 1069. The Black Hole of Numbers (20)
- Linux shell获取时间和时间间隔(ms级别)
- pdf文档如何修改乱序页面
- php错误:You don't have permission to access / on this server.
- Linux文件夹文件创建、删除
- [LeetCode 171]Excel Sheet Column Number
- ubuntu12上docker部署hadoop集群环境
- 求最小环入门详解
- 分布式日志收集系统Apache Flume的设计介绍
- glew库配置:无法识别的外部符号 glewInit()
- linux下如何查看某个软件 是否安装??? 安装路径在哪???
- MPLSVPN 命令集