From 62e8a30abd9d2504bfca1c1c1c72151d729cc9c8 Mon Sep 17 00:00:00 2001 From: Peter Feiner Date: Thu, 24 Oct 2013 17:49:00 -0400 Subject: [PATCH] Fix apache horizon permissions on Ubuntu 13.10 Fixes bug 1241574. Change-Id: If6c30874267a6bf30c114146f83b2d3220f32c1a --- lib/horizon | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/horizon b/lib/horizon index 63caf3c0f2..80f8df71f4 100644 --- a/lib/horizon +++ b/lib/horizon @@ -123,6 +123,11 @@ function init_horizon() { # Be a good citizen and use the distro tools here sudo touch $horizon_conf sudo a2ensite horizon.conf + if [[ "$DISTRO" == "saucy" ]]; then + # Ubuntu 13.10 has Require all denied in apache2.conf + # and requires explicit Require all granted + HORIZON_REQUIRE='Require all granted' + fi elif is_fedora; then if [[ "$os_RELEASE" -ge "18" ]]; then # fedora 18 has Require all denied in its httpd.conf