RHEL 6.x and apache 2.4
Add Jan Kaluza's collection:
curl -s https://repos.fedorapeople.org/repos/jkaluza/httpd24/epel-httpd24.repo > /etc/yum.repos.d/epel-httpd24.repo yum install httpd24-httpd
Check its install: rpm -ql httpd24-httpd | grep sbin
/opt/rh/httpd24/root/usr/sbin/apachectl /opt/rh/httpd24/root/usr/sbin/fcgistarter /opt/rh/httpd24/root/usr/sbin/htcacheclean /opt/rh/httpd24/root/usr/sbin/httpd /opt/rh/httpd24/root/usr/sbin/rotatelogs /opt/rh/httpd24/root/usr/sbin/suexec
Stop the existing apache process: service httpd stop
and run the new: service httpd24-httpd start
. You should see the following default page when its working:
Now we need to make the Apache 2.4 install behave like the previous for virtualmin:
mv httpd.conf httpd.conf~24 ln -s /etc/httpd/conf/httpd.conf /opt/rh/httpd24/root/etc/httpd/conf/httpd.conf service httpd24-httpd restart
This then comes with its own challenges as 2.2 formatted config files don't conform to 2.4 requirements. You'll need to manually go through the config file and locate any differences. The solution I had was open two SSH connections and use the second connection to restart apache.