[PATCH] files: Tell Apache to let clients follow symlinks

Mathieu Bridon bochecha at fedoraproject.org
Wed May 13 17:00:14 UTC 2015


From: Mathieu Bridon <bochecha at daitauha.fr>

This is necessary for builds to succeed, as they will try to access URLs
like this:

  http://koji.fr/kojifiles/repos/$tag/$repoid/$arch/toplink/packages/...

And on the filesystem, that "toplink" folder is in fact a symlink to the
kojifiles root.
---
 hub/httpd.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hub/httpd.conf b/hub/httpd.conf
index 5f480ea..33b882d 100644
--- a/hub/httpd.conf
+++ b/hub/httpd.conf
@@ -29,7 +29,7 @@ Alias /kojihub /usr/share/koji-hub/kojixmlrpc.py
 Alias /kojifiles "/mnt/koji/"
 
 <Directory "/mnt/koji">
-    Options Indexes
+    Options Indexes FollowSymLinks
     AllowOverride None
     Require all granted
     #If you have httpd <= 2.2, you'll want the following two lines instead
-- 
2.1.0



More information about the buildsys mailing list