Apache-auth fail2ban not working

SYSTEM INFORMATION
OS type and version AlmaLinux 8.8
Webmin version 2.101

i have enable the apache-auth, I try to test by key in the wrong username and password on the website virtual host. but i don see any jail. any idea setup wrongly on the script?

backend = auto

@chingloong,

So the problem is the variable you are using for the rule is ONLY looking at the logs in “/var/log/apache2”, which does NOT include the virtual servers created by Virtualmin.

Adjust the rule to include the Virtualmin error_logs for each virtual server.

%(apache_error_log)s
/var/log/virtualmin/*_error_log

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.