REQUEST_URI exact match modsecurity
Solution 1:
Without explicit operator the engine uses the @rx
. There are two possible ways to solve this problem:
- use the anchored pattern for regex, eg
REQUEST_URI "^/index\.php\?page_num=users$"
- use the
@streq
operator:REQUEST_URI "@streq /index.php?page_num=users"