Apache(httpd) 报错You don't have permission to access /on this server.
项目需要,增加个访问端口,指向不同目录。
但是一直报“You don't have permission to access /on this server.”错误
配置文件语法检查:
1
|
#/etc/init.d/httpd configtest 或 apachectl -t
|
直接输入:/etc/init.d/httpd 会新显示选项
1
2
|
[root@centos ~] # /etc/init.d/httpd
Usage: httpd {start|stop|restart|condrestart|try-restart|force-reload|reload|status|fullstatus|graceful|help|configtest}
|
检查无误:会提示Syntax OK
1
2
|
[root@shopdev1 conf] # apachectl -t
Syntax OK
|
用namei -m /home/tomcat/html 列出这个路径下所有的权限和所属组。
最后经过查看,突然发现,html父目录tomcat是只给了775的权限,给了777权限访问成功。
本文转自 piazini 51CTO博客,原文链接:http://blog.51cto.com/wutou/1897272
Apache(httpd) 报错You don't have permission to access /on this server.相关推荐
- [乐意黎原创]访问Centos下Apache主机页面抛You don't have permission to access / on this server.
Forbidden You don't have permission to access / on this server. Server unable to read htaccess file, ...
- (已解决)wamp + Apache报错:出现403Forbidden You don't have permission to access / on this server.
文章目录 `解决办法:` `*** `附件 · 延伸阅读 · 参考: 解决办法: 注意: 案例环境:win7 x64 或 win10 仅仅只需要修改apache配置文件httpd.conf 即可. 上 ...
- apache 编译报错:undefined reference to `apr_array_clear'
apache 编译报错: modules/http/.libs/libmod_http.a(byterange_filter.o): In function `ap_set_byterange': b ...
- ECLIPSE启动不了,报错org.eclipse.swt.SWTException: Invalid thread access
春节上班第二天一大早ECLIPSE启动不了,报错 org.eclipse.swt.SWTException: Invalid thread access 打开这个日志文件一看,里面报了一个异常: or ...
- mysql安装报错 1130_关于Linux编译安装会无法远程登录,报错:1130-host ... is not allowed to connect to this MySql server...
报错:1130-host ... is not allowed to connect to this MySql server, 这是默认安装时为了安全不允许远程登录数据库.只用改下就可以,但我第一次 ...
- MySQL : 报错:1130-host ... is not allowed to connect to this MySql server 开放mysql远程连接 不使用localhost...
MySQL : 报错:1130-host ... is not allowed to connect to this MySql server 开放mysql远程连接 不使用localhost 摘自: ...
- 报错:1130-host ... is not allowed to connect to this MySql server 开放mysql远程连接 不使用localhost...
报错:1130-host ... is not allowed to connect to this MySql server 解决方法: 1. 改表法. 可能是你的帐号不允许从远程登陆,只能在loc ...
- 微信分享报错errMsg: “updateAppMessageShareData:fail, the permission value is offline verifying“
微信分享报错errMsg: "updateAppMessageShareData:fail, the permission value is offline verifying" ...
- python打包后程序报错:PermissionError: [Errno 13] Permission denied
python打包后程序报错:PermissionError: [Errno 13] Permission denied 用python写了一个小程序,然后打包成exe,测试过了功能是完善的,但突然有一 ...
最新文章
- 以太网帧,ARP报文
- [导入]★ 你知道JavaScript里数组的最大长度允许多少吗 ★
- 【Android 安装包优化】WebP 图片格式性能测试 ( 测试 WebP 图片解码速度 | 测试 WebP 图片编码速度 )
- GloVe:Global Vectors for Word Representation
- Day 1 用户交互
- git学习笔记04-将本地仓库添加到GitHub远程仓库-git比svn先进的地方
- java获取数据库连接语句_JAVA连接数据库语句
- 程序员懂算法玩“淮安掼蛋”是否更有优势?
- 【ES6(2015)】Class (类)
- linux-tomcat-install
- 6-9 二叉树的非递归遍历 (20 分)
- RxAndroid 的基本使用
- [小型企业]不同vlan配置DHCP服务
- 国外大神整理的 2019 年 Java 权威开发路线图,Java大神养成记
- ECS 还是轻量应用服务器,看完评测你就知道了?
- 富士施乐2022网络扫描设置_富士施乐怎么设置扫描到PC?
- 城通网盘文件地址分析器
- java word 分段符,Word2013文档中插入分隔符(分节符)的方法
- 2020计算机专业保研夏令营面经:中科院计算所网数机试题目
- 小鑫の日常系列故事(五)——卡片游戏