As of Apache 2.4, mod CGI needs to be enabled directly and is not built
with apache. So let's add it to the Makefile for Ubuntu Trusty 14.04.
Also, add handling for disabling unwanted apache conf like serve-cgi-bin,
which can break offline cgi-bin script alias.
Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
for m in $(DEB_APACHE_MODS); do a2enmod $$m; done;
# keep the bad apache modules away
for m in $(DEB_APACHE_DISMODS); do a2dismod $$m; done;
+ # keep the bad apache configs away
+ for m in $(DEB_APACHE_DISCONF); do a2disconf $$m; done;
# refresh the dynamic library cache
ldconfig
yaz
export DEB_APACHE_MODS = \
+ cgi\
expires\
include\
proxy\
export DEB_APACHE_DISMODS = \
deflate
+export DEB_APACHE_DISCONF = \
+ serve-cgi-bin
+
export CPAN_MODULES = \
Business::CreditCard::Object \
Business::OnlinePayment::PayPal \