Support apache 2.4 and enable cgi mod