Apache Template
It"s not solved in that thread if that"s what you meant. I don"t mind you answer there or here.
I have seen the templates here /var/cpanel/templates/apache2_4/ssl_vhost.local as in the past I"ve been able to use those local templates to change the LogFormat from %h to %a.
but honestly i see entries in the ssl_vhost.local that don"t match the ones in the virtualhosts of ssl websites in httpd.conf
-
Hello, Please review the following thread and let us know if it helps: Apache log format issue with EasyApache 4 Thank you. 0 -
It"s similar but I need to make sure that only in SSL vhosts are affected 0 -
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 -
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 -
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.
Comments
5 comments