Control Web Panel
WebPanel => Apache => Topic started by: gosha on September 20, 2016, 07:05:54 AM
-
Hi
Unable to ulpoad large files with POST on a hosted website, getting the following error in logs
Requested content-length of 12758446 is larger than the configured limit of 10240000
How do I change this limit ?
Thanks
-
You need to increase the LimitRequestBody or SecRequestBodyLimit values in your modsecurity.conf file.
-
Hi
Where do I find this file?
[root@vps04002 ~]# locate modsecurity.conf
/usr/local/src/modsecurity-2.8.0/modsecurity.conf-recommended
/usr/local/src/modsecurity-2.8.0/iis/wix/modsecurity.conf
Seems I don't have any actual config file with given name...
-
Hi,
I think you can try this file:
/usr/local/apache/conf.d/modsec2.conf
You can get an idea of the default values from the second file on your list.
/usr/local/src/modsecurity-2.8.0/iis/wix/modsecurity.conf