Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

When I installed apache2 I didnt do ./configure --enable-headers. How can I enable it now?

share|improve this question
up vote 2 down vote accepted

Oh wait - you compiled Apache from source? Do you have a need for that or could you just use Apache 2 version provided by CentOS? You can install that with yum install httpd.

share|improve this answer
I didn't know that. Is there anything I can do now? Maybe reinstalling? How could I do that? – Matthew Hui Jul 22 '11 at 6:44

If you compiled Apache with DSO support you can compile mod_headers and load it dynamically.

You will want to use a tool called apxs to do this.

Alternatively use the OS RPM or rebuild apache.

share|improve this answer

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.