Title: Large Media File Uploads Generate HTTP error
Last modified: August 30, 2016

---

# Large Media File Uploads Generate HTTP error

 *  Resolved [kepenner](https://wordpress.org/support/users/kepenner/)
 * (@kepenner)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/large-media-file-uploads-generate-http-error/)
 * My client has fairly large media files he uploads to his website. (16 MB or so).
   When doing so, he gets an HTTP error. When I disable All in One WP Security, 
   the error disappears.
    Any ideas?
 * [https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/large-media-file-uploads-generate-http-error/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/large-media-file-uploads-generate-http-error/page/2/?output_format=md)

 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/large-media-file-uploads-generate-http-error/#post-6821631)
 * Hi can you type the full error message you receive?
 * Also you might like to start by disabling all the Firewall settings. Then check
   to see if you still receive such error. If you don’t then you know it is one 
   of the Firewall settings that is conflicting with your website and causing the
   error message. If that is the case then enable one by one each Firewall setting
   and testing at the same time to see if you receive the error message.
 *  Thread Starter [kepenner](https://wordpress.org/support/users/kepenner/)
 * (@kepenner)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/large-media-file-uploads-generate-http-error/#post-6821648)
 * Hi,
    Seems as if the first of the ‘BASIC’ firewall settings causes this error.
 * I activated WP Security again and disabled all firewall rules.
 * I enabled all the other firewall rules I had in place, but as soon as I enable
   the first one: ‘Enable Basic Firewall Protection’ the error appears. It disappears
   as soon as I disable that rule.
 * The exact wording of the message is ‘HTML error.’
 * Hopefully this can be fixed so that I can enable this rule again.
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/large-media-file-uploads-generate-http-error/#post-6821650)
 * Hi the reason why you can’t enable that firewall rule is because of the following
   explanation.
 * This setting will implement the following basic firewall protection mechanisms
   on your site:
 * 1) Protect your htaccess file by denying access to it.
 * 2) Disable the server signature.
 * **3) Limit file upload size (10MB). <===== this is why!!!!!!**
 * 4) Protect your wp-config.php file by denying access to it.
 * The above firewall features will be applied via your .htaccess file and should
   not affect your site’s overall functionality.
 * You are still advised to take a backup of your active .htaccess file just in 
   case.
 * There is a reason why the developers place this upload file limit for security
   reasons.
 *  Thread Starter [kepenner](https://wordpress.org/support/users/kepenner/)
 * (@kepenner)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/large-media-file-uploads-generate-http-error/#post-6821656)
 * OK, thanks.
    It would be nice to be able to over-ride that file size upload limit
   or to set a different limit than the default. (this is a church website and they
   upload the mp3 file of their services)
 * …perhaps in a future update.
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/large-media-file-uploads-generate-http-error/#post-6821658)
 * Hi, the plugin developers will look into your request further.
 * You might like to mark this support thread as resolved since it is not really
   an issue.
 * You can always open up another support thread in the future if you run into other
   problems.
 * Thank you
 *  Thread Starter [kepenner](https://wordpress.org/support/users/kepenner/)
 * (@kepenner)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/large-media-file-uploads-generate-http-error/#post-6821659)
 * Thanks Again
 *  Plugin Contributor [wpsolutions](https://wordpress.org/support/users/wpsolutions/)
 * (@wpsolutions)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/large-media-file-uploads-generate-http-error/#post-6821662)
 * > It would be nice to be able to over-ride that file size upload limit or to 
   > set a different limit than the default
 * Yep that’s why we have the custom firewall rules feature which you can use to
   tweak existing firewall rules however you like.
    Simply copy the basic firewall
   rule code and modify it and then paste it in the custom firewall rules settings.(
   Remember to disable the original “basic” rules)
 *  [danielmarkus](https://wordpress.org/support/users/danielmarkus/)
 * (@danielmarkus)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/large-media-file-uploads-generate-http-error/#post-6821858)
 * >  Yep that’s why we have the custom firewall rules feature which you can use
   > to tweak existing firewall rules however you like.
   >  Simply copy the basic firewall
   > rule code and modify it and then paste it in the custom firewall rules settings.(
   > Remember to disable the original “basic” rules)
 * Hi,
 * I have the same problem. What firewall rule code should I use to change Limit
   Upload Size to.. say 50mb?
 * Thank you,
    Daniel
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/large-media-file-uploads-generate-http-error/#post-6821859)
 * [@daniel](https://wordpress.org/support/users/daniel/), please check the following
   [documentation](http://mbrsolution.com/security/one-wp-security-firewall-custom-rules.php).
   This will help you with your question.
 * Thank you
 *  [joejoe04](https://wordpress.org/support/users/joejoe04/)
 * (@joejoe04)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/large-media-file-uploads-generate-http-error/#post-8340571)
 * I understand the upload size limit becomes 10MB when the basic firewall settings
   are turned on and that I can customize this if need be. The problem I’m having
   is that when this 10MB limit is enabled, the WP uploads page still lists the 
   max upload size as 128MB and only offers a very generic “HTTP Error” when a file
   too large is attempted. This is fine for me but is confusing for someone I make
   a site for. Does anyone know how I can make the max file size listed on the uploads
   page match what is set by this plugin and also how I could change the error message
   to be more descriptive of what’s happening (file size too large). Thanks!
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/large-media-file-uploads-generate-http-error/#post-8340728)
 * [@joejoe04](https://wordpress.org/support/users/joejoe04/), you might have another
   plugin or other settings interfering with this security plugins custom settings.
   Do you have any other plugin that would force the amount to be higher than 10MB?
   Check your .htaccess file and see if there are any other entries outside this
   plugins tags.
 * **
    # BEGIN All In One WP Security # END All In One WP Security
 * Regards
    -  This reply was modified 9 years, 9 months ago by [mbrsolution](https://wordpress.org/support/users/mbrsolution/).
 *  [joejoe04](https://wordpress.org/support/users/joejoe04/)
 * (@joejoe04)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/large-media-file-uploads-generate-http-error/#post-8340775)
 * Thanks for your response. I don’t think it’s any other plugin, I disabled them
   to test and it’s still the same. Nothing else in my .htaccess either that would
   affect anything. The upload limit is applied as it should be, it’s just the size
   it displays as the max on the upload page remains at 128MB, which is the size
   my host has set their PHP settings to (and they don’t allow me to change it, 
   or even in a pho.ini file).
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/large-media-file-uploads-generate-http-error/#post-8340802)
 * That is very strange that they don’t allow you to change that setting. Perhaps
   you can speak with your host and ask them to check this issue for you. I am also
   interested to find out why this is forced on your site and why this plugins changes
   take no effect.
 * Regards
 *  [joejoe04](https://wordpress.org/support/users/joejoe04/)
 * (@joejoe04)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/large-media-file-uploads-generate-http-error/#post-8342170)
 * Chatted with my hosting company today. I’m not able to use php.ini to override
   their setting for upload_max_filesize, so I don’t think there’s much I can do.
 * Just one question if you don’t mind, though, because I’m curious. Is it your 
   experience that even if your PHP upload_max_filesize setting is higher, such 
   as like mine is at 128M, but you have the basic firewall enabled and LimitRequestBody
   is set to 10240000, 10M is displayed for you on the WP upload page as the max
   allowed size?
    -  This reply was modified 9 years, 9 months ago by [joejoe04](https://wordpress.org/support/users/joejoe04/).
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/large-media-file-uploads-generate-http-error/#post-8343065)
 * [@joejoe04](https://wordpress.org/support/users/joejoe04/), please read the following
   [thread](https://wordpress.org/support/topic/increase-max-file-upload-size/).
   The solution in this thread might help you with your issue.
 * Regards

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/large-media-file-uploads-generate-http-error/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/large-media-file-uploads-generate-http-error/page/2/?output_format=md)

The topic ‘Large Media File Uploads Generate HTTP error’ 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/)

 * 16 replies
 * 5 participants
 * Last reply from: [joejoe04](https://wordpress.org/support/users/joejoe04/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/large-media-file-uploads-generate-http-error/page/2/#post-8351380)
 * Status: resolved