CentOS 6.9 users may have noticed that the default Apache version using yum is 2.2. For our CentOS 6.9 users that would like to leverage the features of Apache 2.4 we offer the following advice.
softwarecollections.org maintains a CentOS rpm for apache 2.4. The steps that follow will utilize this repository.
Remove Apache 2.2
yum remove httpd ### move the configuration directory out of the way mv /etc/httpd /etc/httpd.22
Install Software collections from the CentOS SCLo SIG.
yum install centos-release-scl
Install and enable Apache 2.4
yum install httpd24 scl enable httpd24 bash ln -s /opt/rh/httpd24/root/etc/httpd /etc/httpd
Configure Apache 2.4 for NMIS and Opmantek applications. Contact firstname.lastname@example.org for the current 04omk-proxy.conf file.
/usr/local/nmis8/bin/nmis.pl type=apache24 > /etc/httpd/conf.d/nmis.conf cp apache2.4_version_04omk-proxy.conf /etc/httpd/conf.d/04omk-proxy.conf
Configure the Apache 2.4 service to automatically start at boot time; and start the service.
chkconfig httpd24-httpd on service httpd24-httpd start