Get the default configuration file other-vhosts-access-log.conf for Apache, optimized for Debian GNU/Linux 9 (stretch). This example configuration ensures optimal compatibility and performance for Apache, making it easy to set up and adjust to meet your needs.
Find and download the configuration file here: /etc/apache2/conf-enabled/other-vhosts-access-log.conf.
For more configurations and setup guides, visit our related files section to further customize your system.
# Define an access log for VirtualHosts that don't define their own logfile
CustomLog ${APACHE_LOG_DIR}/other_vhosts_access.log vhost_combined
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
Download the raw file with wget or curl
wget -O other-vhosts-access-log.conf.example https://exampleconfig.com/static/raw/apache/debian9/etc/apache2/conf-enabled/other-vhosts-access-log.conf
curl https://exampleconfig.com/static/raw/apache/debian9/etc/apache2/conf-enabled/other-vhosts-access-log.conf > other-vhosts-access-log.conf.example
Other config files you might find useful