Mod-Security Issues
-
I’ve been having issues all week and still cannot find a way to resolve them. Thought I would try you folks for help. I have multiple WordPress sites on Bluehost and they cannot seem to help. It started when I could not login to any of my websites and got this message:
Not Acceptable!
An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.Bluehost went in and whitelisted me. However, immediately afterwards I was unable to upload media or plugins. I cannot change or update anything on all of the WordPress sites on this server.
Interestingly, I have tried this using a different computer with a different IP address and was able to login and make changes. I’ve changed my IP, tried different browsers, have deleted cache. Nothing works.
Bluehost is insisting the mod_security problem is no longer responsible for what is going on. However, I have gotten another mod_security error message. From what I am seeing their could be a way to to eliminate this in my htaccess.file which I am totally ignorant about. Looking in that file, I see code that I am not sure is supposed to be there. I’m going to paste it below. If anyone sees something out of place or knows what might be happening, I would greatly appreciate any help you could provide.
# BEGIN WordPress # The directives (lines) between "BEGIN WordPress" and "END WordPress" are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg "access plus 1 year" ExpiresByType image/jpeg "access plus 1 year" ExpiresByType image/gif "access plus 1 year" ExpiresByType image/png "access plus 1 year" ExpiresByType text/css "access plus 1 month" ExpiresByType application/pdf "access plus 1 month" ExpiresByType text/javascript "access plus 1 month" ExpiresByType text/html "access plus 5 minutes" ExpiresByType image/x-icon "access plus 1 year" ExpiresDefault "access plus 6 hours" </IfModule> <ifModule mod_headers.c> Header set X-Endurance-Cache-Level "2" </ifModule> <IfModule mod_rewrite.c> RewriteEngine On RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
- The topic ‘Mod-Security Issues’ is closed to new replies.