Browse code

enable mod_wsgi on horizon_init

on a clean ubuntu environment wsgi wasn't getting enabled
ensure that it actually turns on wsgi to that apache can start

Change-Id: I9c74f7c5d5d2f995843b2a649a52f7159c7de314

Sean Dague authored on 2012/11/30 04:20:34
Showing 1 changed files
... ...
@@ -79,6 +79,8 @@ function init_horizon() {
79 79
         # Be a good citizen and use the distro tools here
80 80
         sudo touch /etc/$APACHE_NAME/$APACHE_CONF
81 81
         sudo a2ensite horizon
82
+        # WSGI doesn't enable by default, enable it
83
+        sudo a2enmod wsgi
82 84
     else
83 85
         # Install httpd, which is NOPRIME'd
84 86
         if is_suse; then