forbidden error messages – mod_security
-
This may (or may not) help others…
Last couple of days, I was frustrated by 403 error messages that wouldn’t let me search/post/edit/view posts after doing a search with the words “home companion.”
I tried the suggested solution
<IfModule mod_security.c>
SecFilterEngine Off
</IfModule>in the wp-admin folder .htaccess file, added
SecFilterInheritance Off
SecFilterScanPOST Offbut nothing worked.
Finally, going through my other .htaccess files, I saw that I had the following command:
SetEnvIfNoCase Referer home.com spammer=yes
I deleted that line, and voila, “home companion” was no longer a problem.
What I can’t understand is why the string “home.com” would affect my WordPress searches for “home companion.”
Also, non-Wordpress html pages on the site remained unaffected by this search string problem. I could access them whenever I wanted.
Just thought I’d share.
- The topic ‘forbidden error messages – mod_security’ is closed to new replies.