Rewrite apache conf