Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question

2 Answers 2

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

 
discard

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.