roundcube attachment cause error 500

santovito

Verified User
Joined
Nov 23, 2008
Messages
137
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
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
14,102
Location
GMT +7.00
Hello Vito,

Go to DirectAdmin and open modecurity settings (a plugin should be installed), try and change SecRequestBodyLimit to something more then.
 

santovito

Verified User
Joined
Nov 23, 2008
Messages
137
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
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
14,102
Location
GMT +7.00
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
 
Top