add directives to conf template to support authz in Apache version >= 2.3