Server Fault is a question and answer site for system and network administrators. 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 am trying to enable the zgip compression in apache2 web server, a quick googling helped me to fetch some instructions and I got to know that I need to edit httpd.conf which is inside /etc/apache2/ but my ubuntu 10.04 server doesnt have any content inside httpd.conf file and I also had a look into apache.conf file but could not find "LoadModule deflate_module modules/"

So where can I find this lines so that I can edit it.

share|improve this question
up vote 2 down vote accepted

On the Debian based distros, you can enable it by executing:

$ sudo a2enmod deflate

The configuration is located at /etc/apache2/mods-enabled/deflate.conf.

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.