How can I disable mod_security in .htaccess file?

后端 未结 7 1626
盖世英雄少女心
盖世英雄少女心 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;

    <IfModule mod_security.c>
      SecFilterEngine Off
      SecFilterScanPOST Off
    </IfModule>
    
    0 讨论(0)
提交回复
热议问题