From ee5609a2e3d9fdb61891ddbe6c2e5d8cace6d59f Mon Sep 17 00:00:00 2001 From: Nick Daly Date: Fri, 18 Oct 2013 16:52:40 -0500 Subject: [PATCH] Configure Apache correctly when installing Plinth. Apache configuration was missing a few modules, and the server needs to be restarted after those modules are enabled. Also, the server needs to be reloaded after the Plinth site is enabled. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 81ad532b9..482b30074 100644 --- a/Makefile +++ b/Makefile @@ -97,7 +97,11 @@ apache-install: install -D -m644 share/apache2/plinth.conf $(DESTDIR)/etc/apache2/sites-available/plinth.conf apache-config: apache-install apache-ssl a2ensite plinth + service apache2 reload apache-ssl: make-ssl-cert generate-default-snakeoil a2enmod ssl + a2enmod rewrite + a2enmod proxy + service apache2 restart