Closed
Description
Hi !
I installed ModSecurity on my Windows Server 2012.
I added this line in the modsecurity.conf :
SecRule ARGS "@contains test" "id:'1234',deny,status:403,msg:'Our test rule has triggered'"
When i go on http://localhost/?a=test i get the 403 error as planned.
However, i configured my application by adding this line in my web.config :
ModSecurity enabled="true" configFile="C:\Program Files\ModSecurity IIS\modsecurity_iis.conf"
And when i try to go on http://localhost/myapp?a=test
there is no error whereas i should get the same 403 error.
Someone can tell me what am i doing wrong ?
Thanks you in advance.