/etc/cfengine/debian-edu/cf.apache2 is in debian-edu-config 1.702.
This file is owned by root:root, with mode 0o644.
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 | links:
debian.server.installation::
/etc/php5/apache2/php.ini ->! /etc/php5/apache2/php-debian-edu.ini
shellcommands:
debian.server.installation::
# Generate the snakeoil selfsigned certificate using the make-ssl-cert tool
"/usr/sbin/make-ssl-cert generate-default-snakeoil"
# Enabeling userdir, create a directory ~/public_html to make it awailable on web as http://tjener.intern/~username.
"/usr/sbin/a2enmod userdir"
# Enableing ssl
"/usr/sbin/a2enmod ssl"
# Use our own default site configuration, and ssl site configuration.
"/usr/sbin/a2ensite debian-edu-default"
"/usr/sbin/a2ensite debian-edu-ssl-default"
# Disable the stock debian sitefile
"/usr/sbin/a2dissite default"
# Reload apache2 for changes to take effect
"/usr/sbin/invoke-rc.d apache2 force-reload"
|