# recipes for installing this thing onto a "real" (non-chroot) system
# this is enough to get us to a functional Drupal install page
# to go further, use the install-from-backups recipe
-setup-real-system: probe-files install-pkgs install-drupal do-mysql chown-www
+setup-real-system: probe-files install-pkgs install-drupal do-mysql chown-www post-install
# test that we have /install-{drupal-toolchain,packages}.sh /pkgs /sqldefaults and /do-mysql-sh
# if we don't have all of these files, BAD THINGS may happen
chmod og-rwx /do-mysql.sh
chmod 0600 /sqldefaults
+post-install: drupal-fix-404s-conf
+
+drupal-fix-404s-conf:
+ install conf/drupal-fix-404s.conf /etc/apache2/conf-available/
+ a2enconf drupal-fix-404s.conf
+
# recipes to restore the site from a backup
install-from-backups: probe-backup-files install-sqldump install-drupal-sites chown-www