Configure Apache HTTP Web Server by using puppetlabs-apache and setting some parameters to strict defaults.
Configuring Apache with puppetlabs-apache is easy, and most of the defaults are sane. However, some settings, especially related to SSL could be set to some stricter defaults. This module takes care of that, but still allows you to override them.
-
pp_apache
usespuppetlabs-apache
, and setspurge_vhost_dir
totrue
anddefault_vhost
tofalse
. Thempm_module
is set toprefork
(to support PHP). -
In every document root, access to the folder
.git
is forbidden by default. This can be overrider pervhost
.
puppetlabs-apache
is required.
This module was tested on Ubuntu 14.04, but should work with all Ubuntu versions. Only works for Apache >= 2.4.
Pull requests welcome at https://github.com/PACKED-vzw/pp_apache.