1. Log in to WHM/cPanel as the root user.
  2. Open the "Apache Configuration" section.
  3. Click "Global Configuration" to access the httpd.conf's settings, as displayed through cPanel.
  4. Change Keep-Alive to ON , then click the "Save" button.
  5. For your changes to take effect, the Apache configuration must be rebuilt and Apache restarted, then press the Rebuild Configuration and Restart Apache.
  6. Copy the following lines and paste them into theĀ .htaccess file to request keep-Alive in the website header:
Copy to Clipboard