Login
Register
Home
Wiki Knowledge Base
FreeDNS
Facebook
Linux Support
Control Web Panel
MENU
Home
Help
Search
Login
Register
Control Web Panel
»
WebPanel
»
Apache
»
larger than the configured limit of 10240000.How to change the content size lim?
« previous
next »
Print
Pages: [
1
]
Author
Topic: larger than the configured limit of 10240000.How to change the content size lim? (Read 10739 times)
0 Members and 1 Guest are viewing this topic.
gosha
Newbie
Posts: 25
larger than the configured limit of 10240000.How to change the content size lim?
«
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
Logged
Bausch
Newbie
Posts: 20
Re: larger than the configured limit of 10240000.How to change the content size lim?
«
Reply #1 on:
September 24, 2016, 08:23:06 PM »
You need to increase the LimitRequestBody or SecRequestBodyLimit values in your modsecurity.conf file.
Logged
gosha
Newbie
Posts: 25
Re: larger than the configured limit of 10240000.How to change the content size lim?
«
Reply #2 on:
September 26, 2016, 11:39:02 AM »
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...
Logged
Bausch
Newbie
Posts: 20
Re: larger than the configured limit of 10240000.How to change the content size lim?
«
Reply #3 on:
September 27, 2016, 12:32:34 AM »
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
Logged
Print
Pages: [
1
]
« previous
next »
Control Web Panel
»
WebPanel
»
Apache
»
larger than the configured limit of 10240000.How to change the content size lim?