• GoDaddy Community
  • Managed WordPress Hosting
  • Managed WordPress Hosting

    cancel
    Showing results for 
    Show  only  | Search instead for 
    Did you mean: 

    will you resolve this error server errorr(413 request entity too large) while upadating page

     
    2 REPLIES 2
    Super User II
    Super User II

    Re: will you resolve this error server errorr(413 request entity too large) while upadating page

    Hi Krupashekar , (413 request entity too large error) occurs when a request made from a client is too large to be processed by the web server. Depending on which web server you use, implement the necessary changes described below to configure your web server’s maximum HTTP request size allowance.

     

    1. Nginx
    For Nginx users, the directive which determines what the allowable HTTP request size can be is client_max_body_size. This directive may already be defined in your nginx.conf file located at /etc/nginx/nginx.conf. However, if it isn’t, you can add that directive in either an http, server, or location block and define a value.

    server {
    client_max_body_size 100M;
    ...
    }

     

    Note: The default value for this directive is 1 megabyte (1M). If you do not wish to have a request size limit you can set the value to 0.

     

    2. Apache
    For Apache web servers there is a similar directive called LimitRequestBody. This directive provides the same functionality as client_max_body_size in that you are able to restrict the size of an HTTP request. The LimitRequestBody directive can be defined in your http.conf file or in an .htaccess file. The default value for this directive in Apache is 0, however, you may set this value to whatever you like (the value is represented in bytes).

     

    For example, if you wanted to restrict requests larger than 100MB you would use the following.

    LimitRequestBody 104857600

     

    Once you are done making your changes, save the configuration file and reload Apache using the following command: service apache2 reload.

     

    I hope you will follow these tips to resolve your issue.

    Zulfiqar Anees | GoDaddy Pro | Founder/CEO at FastTech Media, TechMag, and ZulWeb.

    Re: will you resolve this error server errorr(413 request entity too large) while upadating page

    Thank you for your replay, I did not find any http.config filr in my
    directory,
    in .htaccess file I did not find any value Apache is 0

    Thank you