Fix apache horizon permissions on Ubuntu 13.10
Fixes bug 1241574.
Change-Id: If6c30874267a6bf30c114146f83b2d3220f32c1a
diff --git a/lib/horizon b/lib/horizon
index 63caf3c..80f8df7 100644
--- a/lib/horizon
+++ b/lib/horizon
@@ -123,6 +123,11 @@
# 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