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.

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

1 Answer 1

mod_deflate does the compression. See http://httpd.apache.org/docs/2.2/mod/mod_deflate.html for details.

SetOutputFilter DEFLATE 

Keepalive is in the core. http://httpd.apache.org/docs/2.2/mod/core.htm

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

 
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.