Adapt configuration to support Apache 2.4