Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've just done an install of Apache 2.4 following the steps outlined here: (except for the Oracle specific stuff).

However, I've now ended up with Apache using the config in /usr/local/apache2/conf/httpd.conf, not /etc/apache2/apache2.conf as I'm used to.

httpd.conf doesn't seem to have been setup to use sites-available and mods-available and all that goodness.

What's the best solution for this? Is there something I can tweak quickly to get it to work as expected, or is 2.4 not expected to work that way in 12.04?

Thanks for any help.

share|improve this question

You could try symlinking /usr/local/conf/apache2/conf to point at /etc/apache2. You might need a symlink from httpd.conf to apache2.conf too.

share|improve this answer
Hmm, but if I symlink like that my sites-available, etc directories are gone, no? Am I misunderstanding? – evanmcd Jul 24 '12 at 13:59
No, how would they be gone? The symlink merely makes /etc/apache2 appear as if it is ALSO at /usr/local/conf/apache2/conf. Of course, if sites-available is a relative symlink pointing outside /etc/apache2, it would probably break. But I don't think it is. – Janus Troelsen Jul 24 '12 at 14:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.