- 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 Upgrade Apache using EasyApache?
In this article we'll discuss how to upgrade Apache using EasyApache tool in WHM. EasyApache is a...
How to Optimize Apache Web Server?
Apache is a freely available Web server that is distributed under an "open source" license....
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 Recompile Apache Using EasyApache from 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....