LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 664|回复: 1

apache 2.2.10 目录索引问题

[复制链接]
发表于 2009-1-7 17:21:01 | 显示全部楼层 |阅读模式
DocumentRoot /home/hr/www
<Directory "/home/hr/www">
allow from all
Options +Indexes
IndexOptions FancyIndexing FoldersFirst HTMLTable
DirectoryIndex header.html
</Directory>
Options FollowSymLinks Indexes
UserDir "/home/hr/www"


这是虚拟主机配置文件 为什么访问还是拒绝呢?显示You don't have permission to access / on this server.求高手帮忙解答一下!谢谢了
发表于 2009-1-8 10:54:30 | 显示全部楼层
chmod 755 /home
chmod 755 /home/hr
chmod 755 /home/hr/www
另外,感觉写法有问题,这个自己查Apache 手册。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表