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

how can I activate / install mod_headers on my server?

share|improve this question
up vote 16 down vote accepted

I'm taking a leap of faith assuming you are talking about a Debian/Ubuntu server here, as Redhat/Fedora/Centos have it installed and enabled as part of the default httpd installation.

On Debian/Ubuntu, you can enable mod_headers (it should be already installed as part of the apache2 installation), by running:

a2enmod headers
apache2 -k graceful
share|improve this answer
It works !! thanks – jruzafa Sep 24 '15 at 15:26

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.