I have a site that needs to have large file uploads (10GB), but I get an error "Request body (Content-Length) is larger than the configured limit (134217728)".
SecRequestBodyLimitAction has a hard upper limit of 1GB, and that's not enough for what my site needs, so changing it to a higher value isn't enough.
I tried to comment out SecRequestBodyLimit and restart Apache, but it didn't help.
I even searched in /etc/httpd and /etc/modsecurity.d/ for 134217728 and there is no file containing 134217728. According to this link, 134217728 is the default value for SecRequestBodyLimit, so if it can't find the SecRequestBodyLimit directive, it probably falls back to the default.
Is there a way to disable SecRequestBodyLimit altogether? I don't need any limit on uploads; my site is made for large uploads.
Attached is the contents of /etc/httpd/conf/extra/httpd-modsecurity.conf
Apache version: 2.4.58
PHP version: 8.1.24
OS: Alma 9
P.S. I'm not sure if DirectAdmin is the right place to post it, but I had servers with other panels and never encountered this issue, so I thought maybe this is some hidden DirectAdmin configuration, but maybe I'm wrong. Anyway, I'd really appreciate any guidance on this; this has been driving me crazy all day.
SecRequestBodyLimitAction has a hard upper limit of 1GB, and that's not enough for what my site needs, so changing it to a higher value isn't enough.
I tried to comment out SecRequestBodyLimit and restart Apache, but it didn't help.
I even searched in /etc/httpd and /etc/modsecurity.d/ for 134217728 and there is no file containing 134217728. According to this link, 134217728 is the default value for SecRequestBodyLimit, so if it can't find the SecRequestBodyLimit directive, it probably falls back to the default.
Is there a way to disable SecRequestBodyLimit altogether? I don't need any limit on uploads; my site is made for large uploads.
Attached is the contents of /etc/httpd/conf/extra/httpd-modsecurity.conf
Apache version: 2.4.58
PHP version: 8.1.24
OS: Alma 9
P.S. I'm not sure if DirectAdmin is the right place to post it, but I had servers with other panels and never encountered this issue, so I thought maybe this is some hidden DirectAdmin configuration, but maybe I'm wrong. Anyway, I'd really appreciate any guidance on this; this has been driving me crazy all day.