Apache 2.4 on CentOS 6

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 think...)

I'm a little green on this in general, but I see that Apache 2.4 got installed to:

(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}

The complication is:

1) I'm trying to install some modules, for example following the steps here for mod_pagespeed:

it places its files here for example:

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) The other issue is I plan to install Plesk.  Has anyone installed Plesk on Apache 2.4? Does it detect this non-standard location of Apache?

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.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Seth SimmonsSr. Systems AdministratorCommented:
this was installed using repo...

you don't need to configure another repo
out of the box you can do yum install httpd

and I need to stop/start/restart using command

using the default repo it would be service httpd <command>

I don't know if these files just come default with CentOS...

CentOS comes default with 2.4
if 2.2 is/was there it was done manually

Has anyone installed Plesk on Apache 2.4?

i have not

the module isn't working and I don't know if I should copy the files over

shouldn't do that especially if it came from an earlier apache version as modules won't be compatible
VasAuthor Commented:
Apache 2.4 is not available from CentOS's repo, in fact after your reply I tested it on a restored VM,  and it's definitely Apache/2.2.15 (CentOS) that gets installed if you do a "yum install httpd"

I attached a screenshot,  and also I confirmed by the default apache page and using curl to view the headers from an external machine.

Cent OS 6.6 - yum install httpd
What is the problem you are attempting to solve? Apache 2.2 is still supported and there is no diffference between that and 2.4 that you can see.
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

VasAuthor Commented:
Ended up installing CentOS 7 which has Apache 2.4 in it's repo

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
VasAuthor Commented:
I've requested that this question be closed as follows:

Accepted answer: 0 points for nathaliev's comment #a40791698

for the following reason:

The best solution was just going with Cent OS 7, instead of 6
In the meantime I installed Debian 8 which has 2.4
It does not help your problem of getting Apache 2.4 on CentOS 6. Apache 2.4 is part of jBoss EAP from redhat.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Web Server

From novice to tech pro — start learning today.