Skip to main content

Fail2ban for Apache Scanner

Comments

3 comments

  • fuzzylogic
    Your regex is not right. You are using * which does not work as you intend. Use .* to do that. Here is a working version of what you tried to write... failregex = [[]client :.*[]] File does not exist: /var/www/html/.*\.php
    Here is a working version of a more specific failregex... failregex = [[]client :\w\d*[]] File does not exist: /var/www/html/\S*(?:htdocs|desktop\.ini|z|lala)\.php
    0
  • mesranet
    Dear Fuzzylogic, Thank you so much, its work great
    0
  • cPanelLauren
    Hello, Glad to see your issue was able to be resolved, @fuzzylogic thanks for your assistance and great advice!
    0

Please sign in to leave a comment.