Modify configuration file for apache2 version >= 2.4.