From e1864c37f31a6e4d8680148c35ffc9f1bcc5d54a Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Thu, 29 Nov 2012 14:20:34 -0500 Subject: [PATCH] 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 --- lib/horizon | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/horizon b/lib/horizon index af09f7700a..6173042fe5 100644 --- a/lib/horizon +++ b/lib/horizon @@ -79,6 +79,8 @@ function init_horizon() { # Be a good citizen and use the distro tools here sudo touch /etc/$APACHE_NAME/$APACHE_CONF sudo a2ensite horizon + # WSGI doesn't enable by default, enable it + sudo a2enmod wsgi else # Install httpd, which is NOPRIME'd if is_suse; then