Menu

Modecrity-Json parser not enabled

Rules
2015-11-25
2015-11-25
  • pyntamil selvi

    pyntamil selvi - 2015-11-25

    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.

     
  • Chaim Sanders

    Chaim Sanders - 2015-11-25

    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.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.