/usr/lib/freedombox/setup.d/90_apache2 is in freedombox-setup 0.8ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | #!/bin/sh
#
# Configure Apache for FBX.
echo "Configuring Apache..."
# enable non-multithreaded Apache worker model as there a many PHP
# applications.
a2dismod mpm_event
a2dismod mpm_worker
a2enmod mpm_prefork
# enable miscellaneous modules.
a2enmod rewrite
# enable GnuTLS
a2dismod ssl
a2enmod gnutls
# enable mod_alias for RedirectMatch
a2enmod alias
# enable mod_headers for HSTS
a2enmod headers
# enable some critical modules to avoid restart while installing
# Plinth applications.
a2enmod php
a2enmod cgi
a2enmod authnz_ldap
# setup freedombox site
a2enconf freedombox
a2ensite 000-default
a2dissite default-ssl
a2ensite default-tls
echo "Done configuring Apache."
|