Symptoms
It's not possible to download and/or upload big files, usually files bigger than 500 MB, from the cPanel account when accessed via the service subdomain "CPANEL.domain.com". You will see a similar error in the Apache error log:
CONFIG_TEXT: Request body size: 105480908 is too big!
Cause
When using the service (proxy) subdomain to access cPanel, the data passes through the web server. In this case, LiteSpeed.
LiteSpeed sets a Max Request Body at 500MB by default - but it can be changed.
# grep -Ei "maxReqBodySize" /usr/local/lsws/conf/httpd_config.xml
<maxReqBodySize>500M</maxReqBodySize>
Resolution
Access cPanel over port 2083 directly, or raise the limitation in LiteSpeed:
- Log in to SSH or access the WHM Terminal as the
rootuser. - Edit /usr/local/lsws/conf/httpd_config.xml
- Update the
maxReqBodySizeto a higher value that meets your needs. -
Restart LiteSpeed with this command:
# /scripts/restartsrv_httpd
Comments
0 comments
Article is closed for comments.