Apache-auth fail2ban not working

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


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.