Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    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

    (@kepenner)

    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

    (@mbrsolution)

    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

    (@kepenner)

    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

    (@mbrsolution)

    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

    (@kepenner)

    Thanks Again

    Plugin Contributor wpsolutions

    (@wpsolutions)

    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)

    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

    (@mbrsolution)

    @daniel, please check the following documentation. This will help you with your question.

    Thank you

    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

    (@mbrsolution)

    @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 8 years, 4 months ago by mbrsolution.

    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

    (@mbrsolution)

    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

    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 8 years, 4 months ago by joejoe04.
    Plugin Contributor mbrsolution

    (@mbrsolution)

    @joejoe04, please read the following thread. The solution in this thread might help you with your issue.

    Regards

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Large Media File Uploads Generate HTTP error’ is closed to new replies.