On October 19, 2021, we have enabled single-sign-on for our Plesk Support Center to provide a seamless login/account experience. This implies that you’ll be able to use a single account across any of our web-facing properties.
If you had already registered your account at Plesk 360 (formerly known as My Plesk) please use one for login. Otherwise please re-register it using the same email address as your existing Zendesk login (support account). It’s essential that you use the same email address on our support center to ensure that your tickets stay attached to the same account.

Unable to upload file to the website: Request body no files data length is larger than the configured limit

Follow

Comments

8 comments

  • Avatar
    Alejandro Betancor

    Hi,

    In CentOS 7 with Obsidian, the changes are working when modifying the file /etc/httpd/conf/modsecurity.d/rules/tortix/modsec/tortix_waf.conf

    The file /etc/httpd/conf.d/mod_security.conf is no existan.

     

    Regards

     

     

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    Hello Alejandro Betancor

    I've checked this on my test server and agree with you.

    I will pass this to the article author.

    0
    Comment actions Permalink
  • Avatar
    shai

    how can that be done on ubuntu?

    0
    Comment actions Permalink
  • Avatar
    Anton Maslov

    Hello Shai, article updated and new instructions can be done on Ubuntu too.

    0
    Comment actions Permalink
  • Avatar
    sanjiv

    /asl/config I don't have asl file then how will I proceed ?

    0
    Comment actions Permalink
  • Avatar
    Yulia Plokhotnikova

    Hello @sanjiv,

    It is not /asl/config file, but /etc/asl/config. If this file is missing, try this solution:

    1. Log in to the server via SSH.

    2. Set the following in the /etc/httpd/conf.d/modsec2.imunify.conf file with a vi text editor:

      SecResponseBodyLimit 546870912
      SecRequestBodyNoFilesLimit 10485760

      Note: it is specified in Bytes.

    3. Restart Apache:

       

      systemctl restart httpd

    If it does not help, check /var/www/vhosts/example.com/logs/error_log for detailed error that appears when issue is reproduced and search at support.plesk.com/hc using this error for another article.

    0
    Comment actions Permalink
  • Avatar
    sanjiv

    There is no file with this name "modsec2.imunify.conf". Still  I have an error 413 entity too large. Please suggest a working solution. I had  already worked with each possible case to resolve the same.

    0
    Comment actions Permalink
  • Avatar
    Juan Pueyo

    Hi,

    I customized it on the domain level:  Websites & Domains > domain name >  Apache & nginx Settings


    <IfModule mod_security2.c>
         SecRequestBodyLimit 546870912
    </IfModule>

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request