我正在尝试让 Apache 遵循指向包含一些大型数据文件的 RAID 阵列服务器的符号链接。我试过修改httpd.conf
有这样的条目
<Directory "/Users/imagine/Sites">
Options FollowSymLinks
AllowOverride all
Order allow,deny
Allow from all
</Directory>
让 Apache 跟随站点文件夹中的任何符号链接。
我不断收到错误返回,似乎表明我没有任何访问文件的权限。错误是:
禁止的
您无权访问此服务器上的 /~imagine/imageLibraryTest/videoClips/imageLibraryVideos/imageLibraryVideos/Data13/0002RT-1.mov。
sys 链接文件是该行中的最后一个“imageLibraryVideos”,其中 Data13 是包含该文件的服务器上的子目录。
0002RT-1.mov 文件具有以下权限:
-rwxrwxrwx 1 imagine staff 1138757 Sep 15 17:01 0002RT-1.mov
并且在这条路上:
cd /Volumes/ImagineProducts-1/Users/imagine/Sites/imageLibraryVideos/Data13
链接指向:
lrwxr-xr-x 1 imagine staff 65 Sep 15 16:40 imageLibraryVideos -> /Volumes/ImagineProducts-1/Users/imagine/Sites/imageLibraryVideos