【发布时间】:2013-01-10 05:23:12
【问题描述】:
在新安装的 Centos 6.3 上
我从 Ubuntu 导入了虚拟主机的配置。这是一段配置
DocumentRoot /otherhome/test.cofares.net
ServerName test.cofares.net
<Directory "/otherhome/test.cofares.net">
allow from all
Options +Indexes
</Directory>
对http://test.cofares.net的请求我在错误日志中得到以下错误
Directory index forbidden by Options directive: /otherhome/test.cofares.net/
为子目录http://test.cofares.net/test工作的目录索引正常
任何建议缺少什么?
相同的配置适用于 Ubuntu Server 12.04。
问候
【问题讨论】:
标签: apache2 centos option virtualhost indexing