Archive for the ‘Wordpress’ Category

Whenever you are trying to upload an image using the flash uploader in WordPress   and receiving error like  “HTTP error”? and uploading image status stuck and do not move further  then …..

Solution is:

You will face this problem because of mod_security installed on your server. As mod_security is web appllication firewall, It is not advisable to turn off mod_security. Mod_security help you to protect your webserver from many kind of malicious attacks. Just add following code in to .htaccess file in the root folder of wordpress installation. It will fix the issue of  “HTTP error” and image uploading as well.

Please check apache version installed on the server and add the following code in to .htaccess accordingly.

For Apache 1.x

<IfModule mod_security.c>
<Files async-upload.php>
SecFilterEngine Off
SecFilterScanPOST Off
</Files>
</IfModule>

For Apache 2.x

<IfModule mod_security2.c>
<Files async-upload.php>
SecRuleEngine Off
SecAuditEngine Off
</Files>
</IfModule>