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

how can I activate / install mod_headers on my server?

share|improve this question

1 Answer 1

up vote 11 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

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.