Title: http error while uploading
Last modified: August 20, 2016

---

# http error while uploading

 *  Resolved [callender](https://wordpress.org/support/users/jimcallender/)
 * (@jimcallender)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/http-error-while-uploading-1/)
 * Hi there,
 * I am on the latest version of WordPress – and I cannot get past the http error.
   when uploading images / media in wp-admin.
 * Any ideas? Here’s what I have done:
 * – Cleared cache in WP and browser (chrome)
    – Checked php safemode off – Added
   correct htaccess details
 *     ```
       AddType x-mapp-php5 .php
       AddDefaultCharset utf-8
   
       RewriteEngine On
       RewriteRule \.shtml$ /index.php [L,R=301]
   
       php_value upload_max_filesize 20M
       php_value post_max_size 20M
       php_value max_execution_time 200
       php_value max_input_time 200
   
       # BEGIN WordPress
       <IfModule mod_rewrite.c>
       RewriteBase /
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteCond %{REQUEST_URI} !\/sitemanager
       RewriteCond %{REQUEST_URL} !uploads/bind
       RewriteRule . /index.php [L]
       </IfModule>
   
       # END WordPress
   
       <IfModule mod_security.c>
       <Files async-upload.php>
       SecFilterEngine Off
       SecFilterScanPOST Off
       </Files>
       </IfModule>
   
       <IfModule mod_env.c>
           SetEnv MODSEC_ENABLE Off
           PassEnv MODSEC_ENABLE
       </IfModule>
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/http-error-while-uploading-1/#post-3446862)
 * First, do ensure that the `# BEGIN WordPress ... # END WordPress` block is always
   the very **last** entry in your .htaccess file. Next, have a word with your hosts
   to see if you can find out if mod_security really is the issue here.
 *  Thread Starter [callender](https://wordpress.org/support/users/jimcallender/)
 * (@jimcallender)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/http-error-while-uploading-1/#post-3446928)
 * cool – this has resolved the issue. thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘http error while uploading’ is closed to new replies.

## Tags

 * [httperror](https://wordpress.org/support/topic-tag/httperror/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [callender](https://wordpress.org/support/users/jimcallender/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/http-error-while-uploading-1/#post-3446928)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
