I have installed Modsecurity 2.9 in ubuntu.I am having problem while sending post request ,but get request is working without any problem.I have enabled SecRequestBodyAccess On,SecRule REQUEST_HEADERS:Content-Type "application/json" \ "id:'200001',phase:1,t:none,t:lowercase,pass,nolog,ctl:requestBodyProcessor=JSON"
Error which I am getting : JSON parser not enabled
Regards,
pyntamil.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Please use git or the mailing lists in the future for such questions. This is likley because you did not compile ModSecurity 2.9 with yajl. This is required for json parsing. Hope this helps.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have installed Modsecurity 2.9 in ubuntu.I am having problem while sending post request ,but get request is working without any problem.I have enabled SecRequestBodyAccess On,SecRule REQUEST_HEADERS:Content-Type "application/json" \ "id:'200001',phase:1,t:none,t:lowercase,pass,nolog,ctl:requestBodyProcessor=JSON"
Error which I am getting : JSON parser not enabled
Regards,
pyntamil.
Please use git or the mailing lists in the future for such questions. This is likley because you did not compile ModSecurity 2.9 with yajl. This is required for json parsing. Hope this helps.