fixed apache template for apache > 2.4