如何解决You don't have permission to access / on this server
2010-07-21 14:39
267 查看
这个通常是由于selinux限制了http 读权限的原因, 其实很好解决的, 用下面的命令即可:
sudo chcon -R -h -t httpd_sys_content_t /var/www/html/your_sub_folder
sudo chcon -R -h -t httpd_sys_content_t /var/www/html/your_sub_folder
相关文章推荐
- apache问题you don't have permission to access / on this server如何解决
- apache问题you don't have permission to access / on this server如何解决
- php多站点配置以及Forbidden You don't have permission to access / on this server问题解决
- apache You don't have permission to access /test.php on this server解决方法
- WampServer设置apache伪静态出现404 not found及You don't have permission to access / on this server解决方法分析[原创]_服务器其它_脚本之家
- apache 问题 You don't have permission to access /test.php on this server 解决方法
- 解决You don't have permission to access /phpmyadmin/main.php on this server.
- centOS安装ganglia报错 You don't have permission to access /ganglia on this server解决办法
- localhost访问错误Forbidden You don't have permission to access / on this server.解决办法(亲测)
- 解决问题 “You don't have permission to access /index.html on this server.”
- apache You don't have permission to access /test.php on this server解决方法
- apache 之 you don't have permission to access / on this server linux 下 错误解决方法
- 解决Apache 2.4.9提示You don’t have permission to access / on this server.
- 简单粗暴解决You don't have permission to access / on this server.
- Wamp 修改默认网站目录的方法及出现You don't have permission to access / on this server问题解决
- apache 提示You don't have permission to access /test.php on this server.怎样解决
- 访问 apache 显示 Forbidden You don't have permission to access /index.html on this server. 解决方法
- 解决mac os You don't have permission to access / on this server.
- Mac Os自带Apache修改自定义项目配置报403 Forbidden, You don't have permission to access/on this server解决
- CentOS 7.4 解决 403 Forbidden : You don't have permission to access / on this server