# Define an access log for VirtualHosts that don't define their own logfile #CustomLog ${APACHE_LOG_DIR}/other_vhosts_access.log vhost_combined {% if ansible_distribution == "RedHat" or ansible_distribution == "AlmaLinux" %} CustomLog /var/log/httpd/other_vhosts_access.log detailed {% else %} CustomLog ${APACHE_LOG_DIR}/other_vhosts_access.log detailed {% endif %} # vim: syntax=apache ts=4 sw=4 sts=4 sr noet