- Network Status
- Contact Us
When cPanel is updated or Httpd service is restarted using WHM, the custom changes made in the Apache configuration file directly won't work because cPanel looks the new values in the file /var/cpanel/conf/apache/local.
However, you can still make the changes directly in the Apache configuration and run the following distiller commands to save the changes. In order to make the changes permanent and make sure the changes don't get overwritten on the next cPanel update / WHM restart, execute the following commands:
# /usr/local/cpanel/bin/apache_conf_distiller –update –main
# /scripts/restartsrv httpd
- 2 Users Found This Useful
How to Recompile Apache Using EasyApache in WHM?
You would required to recompile the Apache mainly when you attempt to perform one of the...
Locations of Common Log Files and Configuration Files for cPanel Services
This article covers the configuration file and log file locations of most common cPanel services....
How to Optimize Apache Web Server?
Apache is a freely available Web server that is distributed under an "open source" license....
How to Upgrade Apache using EasyApache?
In this article we'll discuss how to upgrade Apache using EasyApache tool in WHM. EasyApache is a...
How to Generate a Certificate Signing Request (CSR) with OpenSSL?
OpenSSL is a common utility used to generate a pair of private key and public Certificate Signing...