Apache 日志目录一直会打印 other_vhosts_access.log,如果httpd.conf的虚拟配置没有access日志,会自动输出到other_vhosts_access.log,可以关闭
注释掉 /etc/apache2/conf-enabled/other-vhosts-access-log.conf 的
#CustomLog ${APACHE_LOG_DIR}/other_vhosts_access.log vhost_combined
即可
Apache 日志目录一直会打印 other_vhosts_access.log,如果httpd.conf的虚拟配置没有access日志,会自动输出到other_vhosts_access.log,可以关闭
注释掉 /etc/apache2/conf-enabled/other-vhosts-access-log.conf 的
#CustomLog ${APACHE_LOG_DIR}/other_vhosts_access.log vhost_combined
即可