Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

This system has the following Apache override templates installed

Discussion in 'EasyApache' started by sanjida, Aug 7, 2017.

  1. sanjida

    sanjida Member

    Joined:
    Jul 27, 2017
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
  3. sanjida

    sanjida Member

    Joined:
    Jul 27, 2017
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
  5. sanjida

    sanjida Member

    Joined:
    Jul 27, 2017
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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.
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

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

    Thank you.
     
  7. sanjida

    sanjida Member

    Joined:
    Jul 27, 2017
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    BD
    cPanel Access Level:
    Root Administrator
    Uh, that's done by my brain :)
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Let us know if you have any additional questions.

    Thanks!
     
Loading...

Share This Page