How can I disable mod_security in .htaccess file?

后端 未结 7 1649
盖世英雄少女心
盖世英雄少女心 2020-12-02 22:42

How can we disable mod_security by using .htaccess file on Apache server?

I am using WordPress on my personal domain and posting a post whi

7条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-02 23:37

    It is possible to do this, but most likely your host implemented mod_security for a reason. Be sure they approve of you disabling it for your own site.

    That said, this should do it;

    
      SecFilterEngine Off
      SecFilterScanPOST Off
    
    

提交回复
热议问题