- 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 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...
How to speed up website performance using caching solution XCache?
If you are looking for caching solution to speed up the website performance, XCache is one of the...
How to Enable/Disable Apache/PHP Modules Using EasyApache3?
In this article we'll discuss how to enable/disable Apache or PHP modules using the EasyApache...
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....