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
On some servers and web hosts, it's possible to disable ModSecurity via .htaccess, but only in its entirety – you can't disable individual rules.
Rather than disabling it for your entire site, it's best to limit this to specific URLs. You can specify which URLs to match via the regex in the statement below...
### DISABLE mod_security firewall
### Some rules are currently too strict and are blocking legitimate users
### We only disable it for URLs that contain the regex below
### The regex below should be placed between "m#" and "#"
### (this syntax is required when the string contains forward slashes)
SecFilterEngine Off
SecFilterScanPOST Off