Dev License: This installation of WHMCS is running under a Development License and is not authorized to be used for production use. Please report any cases of abuse to abuse@whmcs.com
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
# /usr/local/cpanel/bin/build_apache_conf
# /scripts/restartsrv httpd

Was this answer helpful? 2 Users Found This Useful (9 Votes)

Powered by WHMCompleteSolution