设为首页
收藏本站
用户名
Email
自动登录
找回密码
密码
登录
注册
快捷导航
平台
Portal
论坛
BBS
文库
项目
群组
Group
我的博客
Space
搜索
搜索
热搜:
shell
linux
mysql
本版
用户
LinuxSir.cn,穿越时空的Linuxsir!
»
论坛
›
运维技术 —— LinuxSir.cn
›
服务器架设、应用、维护
›
apache的documentRoot更改后无法访问
返回列表
查看:
735
|
回复:
1
apache的documentRoot更改后无法访问
[复制链接]
searchwhh
searchwhh
当前离线
积分
3
IP卡
狗仔卡
发表于 2006-10-9 21:52:44
|
显示全部楼层
|
阅读模式
默认路径/var/www/html 我把它改成/home/www,重启, 然后访问/home/www下的文件出现错误提示:
You don't have permission to access /test.php on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
这个是为什么啊
回复
使用道具
举报
提升卡
置顶卡
沉默卡
喧嚣卡
变色卡
显身卡
kingduanlian
kingduanlian
当前离线
积分
857
IP卡
狗仔卡
发表于 2006-10-11 13:06:46
|
显示全部楼层
看一下/home/www的权限,看看Apache组对这个目录有什么权限,以及other的权限。
回复
支持
反对
使用道具
举报
显身卡
返回列表
高级模式
B
Color
Image
Link
Quote
Code
Smilies
您需要登录后才可以回帖
登录
|
注册
本版积分规则
发表回复
回帖后跳转到最后一页
浏览过的版块
Mandriva Linux
Gentoo Linux
Debian Linux
Redhat/Fedora/CentOS Linux
Linux 程序设计专题讨论
Linux 基础讨论区(新手速成)
LFS(LinuxfromScratch)
Copyright © 2002-2023
LinuxSir.cn
(http://www.linuxsir.cn/) 版权所有 All Rights Reserved.
Powered by
RedflagLinux!
技术支持:
中科红旗
|
京ICP备19024520号
快速回复
返回顶部
返回列表