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?
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.