Title: Http Error in Media Upload
Last modified: March 9, 2017

---

# Http Error in Media Upload

 *  Resolved [dcrosbie](https://wordpress.org/support/users/dcrosbie/)
 * (@dcrosbie)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/http-error-in-media-upload/)
 * I am running the most recent wordpress and all in one security plugin. For the
   most part it is running great, and I am able to upload most files no problem.
   If a file is close to 10Mb or larger I was getting an HTTP error when doing the
   upload. I have dug around like crazy, increased memory limits and max execution
   times and file upload size limits etc. In the end I found that if I deactivated
   the All in one security plugin the problem was resolved. In digging around I 
   see that the plugin inserts “LimitRequestBody 10240000” into my htaccess file.
   I removed this line and now it works great.
 * My questions is… is there a setting in the frontend I can turn off to make sure
   this line does not get reinserted into my htaccess file the next time the plugin
   upgrades? And if not then how can I ensure this line will not get reinserted 
   without my knowledge?
 * If you can help me out that would be great. Thanks!

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/http-error-in-media-upload/#post-8891726)
 * Hi, check the following [documentation](http://mbrsolution.com/wordpress/one-wp-security-firewall-custom-rules.php).
   Let me know if this helps you.
 * Kind regards

Viewing 1 replies (of 1 total)

The topic ‘Http Error in Media Upload’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-wp-security-and-firewall/assets/icon-256x256.
   png?rev=2798307)
 * [All-In-One Security (AIOS) – Security and Firewall](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/http-error-in-media-upload/#post-8891726)
 * Status: resolved