SecFilterEngine Off
SecFilterScanPOST Off
or
SecFilterEngine Off
SecFilterScanPOST Off
or
AddType x-mapp-php5 .php
(at the very top of your .htaccess file)
NOTE: I always warn people when “playing” in .htaccess. The codes can differ from server to server, so it’s best to contact your hosting support and ask them if it’s alright to add one of the codes, or ask them to do it for you.
6. Check with your hosting company to make sure that they are using PHP 5.2.4+. Once, when we were on HostGator, someone from support was checking out an issue and discovered that we didn’t have the correct version of PHP. So, it’s a good thing to “bug” your hosting support and ask them.
7 (Update). This fix was pointed out by a couple of our readers. We thank them for that!
Make sure you don’t have an apostrophe in the image file’s name (e.g. mary‘s-wedding.png), because that will trigger the error as well.
8 (Update). If you’re using an image optimizer plugin, deactivate it and see if that solves the issue. If the plugin was the cause, try different configuration settings or contact the plugin developer.
We’ve experienced such an issue with the EWWW Image Optimizer plugin, which triggered the HTTP error when we were uploading PNG files. It was working fine with JPEG files, but PNGs are better in some cases, so we really wanted to fix the issue, which we did, with the help of the developer.
If none of the above solutions work, then you should definitely contact your hosting support. If you have a good hosting company, I’m sure they will help you out and solve the issue for you.
If you don’t already have an account, Try us free for a month using this Free trial link – vpsie