Apache log format issue with EasyApache 4
I'm experiencing the same issue after updating to v58 and/or EA4 as well (not sure what caused it). The LogFormat change from %h to %a will not stick anymore - it was working fine before that.
Even after using /usr/local/cpanel/bin/apache_conf_distiller --update and regardless of whether I edit /var/cpanel/conf/apache/main or /usr/local/apache/conf/httpd.conf, as soon as I run /scripts/rebuildhttpdconf %a is changed back to %h and my logs start showing Varnish's IP again.
-
Hello, You should be able to complete the following steps to modify the entry: 1. Copy the Apache 2.4 template for EasyApache 4 to allow for customization: cp -a /var/cpanel/templates/apache2_4/ea4_main.default /var/cpanel/templates/apache2_4/ea4_main.local
2. Edit /var/cpanel/templates/apache2_4/ea4_main.local to change the entry:vi /var/cpanel/templates/apache2_4/ea4_main.local
3. Save the changes, and then run:/scripts/rebuildhttpdconf
Let us know if this helps. Thank you.0
Please sign in to leave a comment.
Comments
1 comment