This system has the following Apache override templates installed

sanjida

Member
Jul 27, 2017
7
1
53
BD
cPanel Access Level
Root Administrator
This system has the following Apache override templates installed:
  • /var/cpanel/templates/apache2_2/ssl_vhost.local
  • /var/cpanel/templates/apache2_2/vhost.local
How to prevent this alert & why come this alert?

Using cetos 6.9 with latest cpanel version.
 
  • Like
Reactions: itwolfy

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello,

This notification is to alert you of changes to the default Apache templates located in the following directory:

/var/cpanel/templates/apache2_4/

Are you still using EasyApache 3 with Apache version 2.2 on this server, or are those old custom template files that are no longer utilized? You can read more about this at:

The system detected EasyApache 4 template change

Thank you.
 

sanjida

Member
Jul 27, 2017
7
1
53
BD
cPanel Access Level
Root Administrator
httpd -v
Server version: Apache/2.4.27 (cPanel)
Server built: Jul 18 2017 00:41:05

So what i should now?

Could you specify bit clearly? I wish to use Apache latest version.

Thanks
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello,

Since you are already using Apache 2.4, there's no need to keep your custom changes to the Apache 2.2 template files. Thus, you can simply move them out of the way to prevent that notification from appearing:

Code:
mv /var/cpanel/templates/apache2_2/vhost.local /var/cpanel/templates/apache2_2/vhost.local.old
mv /var/cpanel/templates/apache2_2/ssl_vhost.local /var/cpanel/templates/apache2_2/ssl_vhost.local.old
Thank you.
 
  • Like
Reactions: itwolfy

sanjida

Member
Jul 27, 2017
7
1
53
BD
cPanel Access Level
Root Administrator
I just renamed the folder /var/cpanel/templates/apache2_2 to /var/cpanel/templates/apache2_2_temp.

Then i can see there is no alert showing. Above action is correct or anything affect for rename?

There is still available (/var/cpanel/templates/apache2_4) this folder.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Then i can see there is no alert showing. Above action is correct or anything affect for rename?
Hello,

Yes, that's acceptable because the apache2_2 directory is not required.

Thank you.
 
  • Like
Reactions: itwolfy

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello,

Let us know if you have any additional questions.

Thanks!
 
  • Like
Reactions: itwolfy