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,测试过了功能是完善的,但突然有一 ...
最新文章
- VMWare克隆出多个操作系统
- 经典C语言程序100例之四二
- Kafka科普系列 | 轻松理解Kafka中的延时操作
- jdk db版本_企业视频会议系统音视频通话EasyRTC-SFU版本研发中更合适的配置文件格式-TOML配置介绍 - TSINGSEE...
- Linux less命令:查看文件内容
- Spring Boot @SpringApplicationConfiguration 不能导入
- 安卓音量阶数修改_16款手机UI随便用,音量调节原来可以这样玩
- 如何快速看透一个人?
- python第一记,长江雨课堂抓包刷课实战
- AcWing 2005. 马蹄铁(DFS)
- 区块链 之 以太坊的那些坑
- Math.abs()方法
- javaWeb学习--------邮件发送
- Altium Designer PCB板框扩大
- ftl不存在为真_判断一件书法作品是否具备收藏价值可以归纳为四个字:真、优、高、古。...
- creator物理引擎 /RPG运动类型 /坦克
- 表空间管理——创建TABLESPACE
- vue实现变态表格表头和列固定
- 存储过程之八-java代码调用oracle存储过程
- win10 查看已保存无线密码的方法
热门文章
- 加密芯片——AES算法特点与应用注意事项
- [VB]SaveSetting 语句 和 DeleteSetting 语句
- 英伟达的“千人摩擦计划”:几千个智能体互相玩耍,学习跑酷更轻松
- 欧莱雅收购AI公司ModiFace,想让自拍照“一键上妆”
- 《连线》杂志专访李彦宏:百度all in AI 欲引领智能革命
- 一文解读聚类中的两种流行算法
- 自动驾驶攻破的难点在哪,何时能到Level 5?
- 什么是redis缓存穿透, 缓存雪崩, 缓存击穿
- 通过JDK动态代理实现拦截器
- 下个乳业蓝海风口 竟很可能是低温鲜奶?