From: Greg Price <price@mit.edu>
Date: Sat, 31 Jan 2009 19:59:47 +0000 (-0500)
Subject: enable Apache modules we need
X-Git-Tag: 0.0.18~2
X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/commitdiff_plain/e7dda23c4deb7b3f165865bcc2ea500fb20473b8

enable Apache modules we need

svn path=/trunk/packages/invirt-web/; revision=2063
---

diff --git a/debian/changelog b/debian/changelog
index 66df718..f007ec3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,11 @@
 invirt-web (0.0.18) unstable; urgency=low
 
   * depend on apache2, libapache2-mod-auth-sslcert, python-dnspython
+  * enable Apache modules we need
   * get mitCAclient.pem from debathena-ssl-certificates
   * organize our 24 dependencies a bit
 
- -- Greg Price <price@mit.edu>  Sat, 31 Jan 2009 03:21:25 -0500
+ -- Greg Price <price@mit.edu>  Sat, 31 Jan 2009 14:59:14 -0500
 
 invirt-web (0.0.17) unstable; urgency=low
 
diff --git a/debian/invirt-web.postinst b/debian/invirt-web.postinst
index 9ab1554..4ef0aa1 100755
--- a/debian/invirt-web.postinst
+++ b/debian/invirt-web.postinst
@@ -24,8 +24,12 @@ case "$1" in
 	make clean && make all
 	chgrp -R invirt .
 	chmod -R g+w .
+
+	a2enmod rewrite
+	a2enmod ssl
+	a2enmod auth_sslcert
         
-        # Our init script proxies all requests Apache's, so Apache's
+        # Our init script proxies all requests to Apache's, so Apache's
         # running is just a NOP
         update-rc.d -f apache2 remove
     ;;