That was a typo sorry,
I meant Apache 2.4
Here's the issues I'm having so far,
and this will be just as relevant when installing Plesk on the box since I don't know how Plesk works with Apache 2.4 being in a different directory structure...
I installed Apache 2.4 on a min. installation of CentOS (in other words, this was a fresh Apache installation, not an upgrade from 2.2, there is no previous Apache on the box)
I'm a little green on this in general, but I see that Apache 2.4 got installed to:
/opt/rh/httpd24/root/var/www
(this was installed using repo
http://repos.fedorapeople.org/repos/jkaluza/httpd24/epel-httpd24.repo)
and I need to stop/start/restart using command:
service httpd24-httpd {start|stop|restart}
I haven't installed Plesk yet as I wanted to get Apache 2.4 installed first, here is just one example (it isn't Plesk specific) but the solution may be similar and I do want to install Apache and modules in a way that is best-practice for Plesk 12.
An example complication just to demonstrate one challenge:
1) I'm trying to install some modules, for example following the steps here for mod_pagespeed:
http://wpguru.co.uk/2014/03/how-to-install-apache-mod_pagespeed-on-centos-with-plesk/
it places its files here for example: /etc/httpd/conf.d/pagespeed.conf
Should I be creating some kind of sym link to redirect attempts of accessing /etc/httpd/ to redirect to /opt/rh/httpd24/..<something>?
For example the Apache 2.6 conf file exists at /opt/rh/httpd24/root/etc/httpd/conf/httpd.conf
This is the file structure for the 2.4 httpd directory:
# ls -al /opt/rh/httpd24/root/etc/httpd
total 20
drwxr-xr-x. 5 root root 4096 May 1 10:57 .
drwxr-xr-x. 11 root root 4096 May 1 10:57 ..
drwxr-xr-x. 2 root root 4096 May 1 10:57 conf
drwxr-xr-x. 2 root root 4096 May 1 10:57 conf.d
drwxr-xr-x. 2 root root 4096 May 1 10:57 conf.modules.d
lrwxrwxrwx. 1 root root 34 May 1 10:57 logs -> /opt/rh/httpd24/root/var/log/httpd
lrwxrwxrwx. 1 root root 44 May 1 10:57 modules -> /opt/rh/httpd24/root/usr/lib64/httpd/modules
lrwxrwxrwx. 1 root root 34 May 1 10:57 run -> /opt/rh/httpd24/root/var/run/httpd
2) Has anyone installed Plesk on Apache 2.4? Does it detect this non-standard location of Apache? Or does something need to be done first before installing Plesk (sym links?)
Back to the module installation, the module isn't working and I don't know if I should copy the files over (but I don't want to keep having to do that) or what the best practice is (create a sym link, but not sure what to link to what)
I do see some files here since Apache 2.2 wasn't installed I don't know if these files just come default with CentOS min build or where they came from. The machine was built very recently (in the last month)
# ls -al /etc/httpd/conf
total 60
drwxr-xr-x. 2 root root 4096 May 1 11:12 .
drwxr-xr-x. 4 root root 4096 May 1 11:12 ..
-rw-r--r--. 1 root root 34418 Aug 15 2014 httpd.conf
-rw-r--r--. 1 root root 13139 Oct 16 2014 magic
Thanks in advance for any help or clarification.