roundcube attachment cause error 500

santovito

Verified User
Joined
Nov 23, 2008
Messages
144
Hello to all,

when I try to attach a 20 mb file through roundcube it gives me error 500.

The logs show: ModSecurity: Request body (Content-Length) is larger than the configured limit (13107200)

how can i fix this error?

Thank You

Vito
 
Hello Vito,

Go to DirectAdmin and open modecurity settings (a plugin should be installed), try and change SecRequestBodyLimit to something more then.
 
perfect thank you very much. But I had to change the parameter in the /etc/httpd/conf/extra/httpd-modsecurity.conf file.

in the plugin it is not configurable

Thanks

Vito
 
Depending on your web-server: Apache, LiteSpeed, OpenLiteSpeed is it, you might need to copy your modified file either to:

/usr/local/directadmin/custombuild/custom/ap2/conf/extra/httpd-modsecurity.conf

or to

/usr/local/directadmin/custombuild/custom/openlitespeed/conf/httpd-modsecurity.conf
 
Back
Top