Rewrite config files for apache 2.4