How do i turn on the Keep Alive and HTTP Compression in Apache server 2.2( centos)

apache-2.2compressionkeepalive

how do I turn on the

KeepAlive and HTTP Compression

in Apache server 2.2(centos)

Best Answer

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