cPanel & WHM Version 98 has been released, and brings a slew of great updates. Take a look at what is included, and then upgrade today!
This object is in archive! 

As a server administrator I want to get notifications when Apache template change (if custom)

Lucas Rolff shared this idea 4 years ago
Completed

When running cPanel, some might decide to run with a custom Apache template if we want to have some specific changes.


This works great, except the fact we're not informed when template changes happen (which can be required for new functionality to work).


As a server administrator I would like to get notified in WHM, if I run a custom apache template that changes has been made to the one maintained by cPanel.


This allows me to check out the differences, and decide if it's something I want to implement it or not.


Maybe even take it as far as showing a "git diff" like overview, with the changes.


Surely the notification should be able to be discarded and not show up until next change - and if it can be muted generally by setting a flag in tweak settings, or touch a file on the system (I believe some bigger providers might want to be able to disable these notifications so customers do not freak out).

Replies (1)

photo
1

This has been implemented in version 64.

-------

CPANEL-12933: When EasyApache 4 templates are updated, if a system has a corresponding .local template, their template will take precedence over the .default template. We now send off an iNotify if .local templates are found after .default templates change.

Fixed case CPANEL-12783: Display a warning in the UI when .local templates are in use.

------

If you have both a) have EasyApache notifications enabled and b) have local Apache templates in place files will get a notifications indicating that there was an update to the EasyApache templates that could cause problems since the user has a .local template in place. We're looking for these files:


  1. [/var/cpanel/templates/apache2_4]# ll |grep local
  2. -rw-r----- 1 root root 31836 May 1 13:34 ea4_main.local

You can check to see if they will be notified with this API call:


  1. #whmapi1 get_application_contact_importance app=EasyApache

If you're curious, you can see the notification templates here:


  1. [root@edge64 apache2_4]# cd /usr/local/cpanel/etc/icontact_templates/EasyApache/
  2. [root@edge64 EasyApache]# ll EA4_Tem*
  3. -rw-r--r-- 1 root root 3142 May 1 17:41 EA4_TemplateCheckUpdated.html.tmpl
  4. -rw-r--r-- 1 root root 154 May 1 17:41 EA4_TemplateCheckUpdated.subject.tmpl
  5. [root@edge64 EasyApache]#

Leave a Comment
 
Attach a file