I use ISPConfig 3 version, and i want use fail2ban for apache defense, but which log file does apache under ispconfig use? I found these: - /var/log/apache2/access.log - /var/log/apache2/other_vhosts_access.log - /var/log/ispconfig/httpd/webpage.com/access.log
That depens on the Operating System. I run on Debian GNU/Linux, and use the stock fail2ban filters for apache. I have not modified the log file setting.
I use Debian. What the default log file in ispconfig? As I see it, there are entries in all three too: - /var/log/apache2/access.log - /var/log/apache2/other_vhosts_access.log - /var/log/ispconfig/httpd/webpage.com/access.log
First of all what is the goal you're trying to achieve? /var/log/apache2/access.log for example does not contain the authlog for any client website on the host. The logs for each website are stores in the /var/www/clients/clientXXX/webXXX/log path without testing this should work in the jail conf: /var/www/clients/client*/web*/log/access.log