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

Mike McLean mikem at redhat.com
Fri May 15 17:02:48 UTC 2015


On 05/15/2015 10:56 AM, Mathieu Bridon wrote:
> 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..38e6b93 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 SymLinksIfOwnerMatch
>       AllowOverride None
>       Require all granted
>       #If you have httpd <= 2.2, you'll want the following two lines instead
>

ack. pulling in


More information about the buildsys mailing list