Skip to main content

mod_sec whitelist

Comments

3 comments

  • quizknows
    I don't think locationmatch can accept query strings, unfortunately. See the link below. What comes after the question mark is php arguments (query string) and not a real "location" to apache. There would be ways to customize the rules themselves for this, but I don't really recommend that unless you are an advanced user. What I would do personally is just apply the list that works to the one domain only in an includes file. Configserver Modsec Control is great for this, you can make the exceptions for just one domain. Apache permissions based on querystring
    0
  • Infopro
    Do you use CMC? ConfigServer ModSecurity Control (cmc) Using that you can disable rules per domain.
    0
  • hrace009
    I don't think locationmatch can accept query strings, unfortunately. See the link below. What comes after the question mark is php arguments (query string) and not a real "location" to apache. There would be ways to customize the rules themselves for this, but I don't really recommend that unless you are an advanced user. What I would do personally is just apply the list that works to the one domain only in an includes file. Configserver Modsec Control is great for this, you can make the exceptions for just one domain. Apache permissions based on querystring

    Hi, Thank for reply Yes, i have read that before, when search on google, i have seen there is a trick for it, but i forgot to save the link. maybe i should take a look again
    Do you use CMC? ConfigServer ModSecurity Control (cmc) Using that you can disable rules per domain.

    Hi, Thank for reply, Yes i use CMC, i have seen post that LocationMatch can only use without query. Using disable per domain is good choice, and i have try it. But i think still more better if it targeting to the path that hit by ModSec. There is a trick for that, i have seen it at google before. And i forgot to save the link. I should take a look over it again.
    0

Please sign in to leave a comment.