Browse code

Fix apache horizon permissions on Ubuntu 13.10

Fixes bug 1241574.

Change-Id: If6c30874267a6bf30c114146f83b2d3220f32c1a

Peter Feiner authored on 2013/10/25 06:49:00
Showing 1 changed files
... ...
@@ -123,6 +123,11 @@ function init_horizon() {
123 123
         # Be a good citizen and use the distro tools here
124 124
         sudo touch $horizon_conf
125 125
         sudo a2ensite horizon.conf
126
+        if [[ "$DISTRO" == "saucy" ]]; then
127
+            # Ubuntu 13.10 has Require all denied in apache2.conf
128
+            # and requires explicit Require all granted
129
+            HORIZON_REQUIRE='Require all granted'
130
+        fi
126 131
     elif is_fedora; then
127 132
         if [[ "$os_RELEASE" -ge "18" ]]; then
128 133
             # fedora 18 has Require all denied  in its httpd.conf