Apache2 虚拟目录上禁止使用Apache

Apache2 虚拟目录上禁止使用Apache,apache2,Apache2,我一直在尝试将Apache配置为列出存储在/var/log/squid/中的日志文件,以便在需要时可以将它们从服务器下载到本地PC。我已将别名配置如下: Alias /squid/ "/var/log/squid/" <Directory "/var/log/squid/"> Options None AllowOverride All Order allow,deny Allow from all </Directory> 是否有人有任

我一直在尝试将Apache配置为列出存储在/var/log/squid/中的日志文件,以便在需要时可以将它们从服务器下载到本地PC。我已将别名配置如下:

Alias /squid/ "/var/log/squid/"
<Directory "/var/log/squid/">
    Options None
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>
是否有人有任何建议,我已尝试将Apache下运行的用户更改为
admin
,该用户可以完全访问/var/log/squid/目录,但不能访问任何系统服务/etc/init.d/,也不能运行以下命令:(
暂停
服务

有什么建议吗

来自Apache的错误日志

[Mon May 12 17:53:11 2014] [error] [client 172.16.200.132] (13)Permission denied: Can't open directory for index: /var/log/squid/

从发布的日志操作中,有趣的部分是
)权限被拒绝:无法为索引打开目录:

要解决此问题,请将行
Options None
更改为
Options+index


参考资料:

请从apache2错误日志文件中发布消息。日志文件发布在172.16.200.132---[10/May/2014:14:34:01+0100]“GET/squid/HTTP/1.1”403288“-”Mozilla/5.0(Windows NT 6.3;WOW64)AppleWebKit/537.36(KHTML,如Gecko)Chrome/34.0.1847.131 Safari/537.36”
[Mon May 12 17:53:11 2014] [error] [client 172.16.200.132] (13)Permission denied: Can't open directory for index: /var/log/squid/