# Fail2ban-friendly combined log for all ISPConfig (or other multi-vhost) sites on this host. # # Install as: /etc/apache2/conf-available/fail2ban-log.conf, then `a2enconf fail2ban-log`. # # See apache-notes/apache-logformat.md for the rationale, the fresh-install # and migration procedures, and fail2ban filter-compatibility verification. # Do not fold this into apache2.conf or the stock other-vhosts-access-log.conf # — both are dpkg conffiles and a future `apt upgrade apache2` can overwrite # or discard edits made there. LogFormat "%t %v:%p %h %l %u \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\" \"%{Host}i\" %D" fail2ban CustomLog ${APACHE_LOG_DIR}/other_vhosts_access.log fail2ban