我正在尝试使用 Apache 创建一个构建服务器,用于托管使用 Gentoo Catalyst 编译的 ISO 映像:
<VirtualHost *:80>
ServerName localhost
Include /etc/apache2/vhosts.d/default_vhost.include
<IfModule mpm_peruser_module>
ServerEnvironment apache apache
</IfModule>
DocumentRoot /var/tmp/catalyst/builds/default
ServerAdmin [email protected]
<Directory /var/tmp/catalyst/builds/default>
Options +Indexes
AllowOverride all
Require all granted
</Directory>
</VirtualHost>
</IfDefine>
但是,当我尝试访问它时,出现 403 错误和标题中描述的警告。
以下是 的输出ls -l /var/tmp/catalyst/builds/default
:
total 3397440
-rwxr-xr-x 1 apache apache 1701838848 Oct 17 22:23 livecd-amd64-installer-latest.iso
-rwxr-xr-x 1 apache apache 2756 Oct 17 22:23 livecd-amd64-installer-latest.iso.CONTENTS
-rwxr-xr-x 1 apache apache 736 Oct 17 22:24 livecd-amd64-installer-latest.iso.DIGESTS
-rwxr-xr-x 1 apache apache 1396285061 Oct 18 07:09 livecd-stage1-amd64-installer-latest.tar.bz2
-rwxr-xr-x 1 apache apache 26764352 Oct 18 07:10 livecd-stage1-amd64-installer-latest.tar.bz2.CONTENTS
-rwxr-xr-x 1 apache apache 780 Oct 18 07:10 livecd-stage1-amd64-installer-latest.tar.bz2.DIGESTS
drwxr-xr-x 1 apache apache 102 Oct 17 22:19 livecd-stage2-amd64-latest
-rwxr-xr-x 1 apache apache 354817796 Oct 15 04:29 stage3-amd64-latest.tar.xz
如您所见,模式确实如此,该目录中的所有文件都是可读的,而且我运行了chown -R apache:apache /var/tmp/catalyst/builds/default
多次。这里还需要什么?