Move Apache2 configuration into bash script