Skip to main content

ModSecurity2 - What is the right way of white listing IP's?

Comments

2 comments

  • quizknows
    Format for @pmFromFile is one IP (or cidr range) per line. You have to restart apache after making any changes. Yes, locationmatch .* applies to every request.
    0
  • cPanelMichael
    Hello :) Yes, as mentioned in the previous post, the format is a single IP/range, per line. Keep in mind that these IP addresses are no longer restricted by Mod_Security so you should ensure they are trusted users. Thank you.
    0

Please sign in to leave a comment.