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 do I turn on the

KeepAlive and HTTP Compression

in Apache server 2.2(centos)

share|improve this question
There is a cool think called "Google" that knows all of your questions. At many times its easier to search for yourself instead writing a question. Sorry for my comment but this questions is a bit to simpel. – Stony Mar 15 '11 at 10:57
Ya Stony... Your are right... i found what need to modified... now the question is exactly where do i need to modify(like the file name/any seeting in Apache server?". It would be of great help if you can help me on this. – gourav Mar 15 '11 at 11:05

mod_deflate does the compression. See for details.

SetOutputFilter DEFLATE 

Keepalive is in the core.

KeepAlive On
share|improve this answer
Thanks a lot for Reply... my query is "Where do i need to go and make the changes in the Apache server?"... – gourav Mar 15 '11 at 11:02
KeepAlive would tend to go in the global httpd.conf. The compression option tends to be done in location and directory sections. As with all things apache it depends what makes most sense for your website. Have a play around and see what works best for you. – Decado Mar 15 '11 at 11:16

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.