Skip to main content

Apache Template

Comments

5 comments

  • User Avatar
    cPanelMichael
    Hello, Please review the following thread and let us know if it helps: Apache log format issue with EasyApache 4 Thank you.
    0
  • User Avatar
    Miguel G
    It"s similar but I need to make sure that only in SSL vhosts are affected
    0
  • User Avatar
    cPanelMichael
    Hello @Miguel G, This is documented at: Modify Apache Virtual Hosts with Include Files - EasyApache 4 - cPanel Documentation Use the example for "With SSL" next to "Apply to all virtual hosts on the system" and add the custom logging entries. Let us know if this helps. Thank you.
    0
  • User Avatar
    Miguel G
    I managed to do it overriding using /var/cpanel/templates/apache2_4/ssl_vhost.default and renaming it as ssl_vhost.local I don"t know how to disable CustomLog using include files.
    0
  • User Avatar
    cPanelMichael
    I managed to do it overriding using /var/cpanel/templates/apache2_4/ssl_vhost.default and renaming it as ssl_vhost.local

    I'm happy to see you were able to find a solution to the issue. Regarding the include files, LogFormat entries are supported in individual virtual hosts. This document explains how it works: mod_log_config - Apache HTTP Server Version 2.4 Thank you.
    0

Please sign in to leave a comment.