Updates to apache role to make it more flexible and inline with nginx