ansible_etalon_web/templates/other-vhosts-access-log.conf

10 lines
374 B
ApacheConf

# 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" %}
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