title: Apache: Get rid of Keep-Alive entry in the headers list
body: <p>I'm using LAMP (Linux, Apache, MySQL, PHP) server.</p>
  
  <p>Currently the server sends the response with next Headers list. I want to eliminate Keep-Alive entry for security reasons, to have Headers list without it. Is it possible to prevent sending the Keep-Alive entry in the Headers list?</p>
  
  <p><strong>Current Response Headers:</strong></p>
  
  <pre><code>Cache-Control   private, no-cache, no-store, must-revalidate, post-check=0, pre-check=0
  Connection  Keep-Alive
  Content-Encoding    gzip
  Content-Type    text/html; charset=UTF-8
  Date    Thu, 13 Mar 2014 01:43:49 GMT
  Expires Thu, 13 Mar 2014 01:43:49 GMT
  Keep-Alive  timeout=5, max=200
  Last-Modified   Thu, 13 Mar 2014 01:43:49 GMT
  Pragma  no-cache
  Server  Apache
  Transfer-Encoding   chunked
  Vary    Accept-Encoding
  X-DNS-Prefetch-Control  off
  X-Frame-Options sameorigin
  </code></pre>
  
  <p><strong>Response Headers I Would Like Instead:</strong></p>
  
  <pre><code>Cache-Control   private, no-cache, no-store, must-revalidate, post-check=0, pre-check=0
  Connection  Keep-Alive
  Content-Encoding    gzip
  Content-Type    text/html; charset=UTF-8
  Date    Thu, 13 Mar 2014 01:43:49 GMT
  Expires Thu, 13 Mar 2014 01:43:49 GMT
  Last-Modified   Thu, 13 Mar 2014 01:43:49 GMT
  Pragma  no-cache
  Server  Apache
  Transfer-Encoding   chunked
  Vary    Accept-Encoding
  X-DNS-Prefetch-Control  off
  X-Frame-Options sameorigin
  </code></pre>