Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: mbachmann on February 20, 2004, 12:35:45 PM
-
I need to change the request_body_max_size because i cannot upload files bigger than 1 MB.
-
.. in the:
/etc/e-smith/templates-custom/etc/squid/squid.conf
folder (create it if it doesn't already exist) create a template fragment called 76UploadLimit.
Contents of this file are:
{
# this sets the HTTP Upload Limit; 0 is unlimted
}
request_body_max_size 0
Remember to issue the command:
/sbin/e-smith/expand-template /etc/squid.conf
and restart squid (or reboot)
HTH
-
This default template/create new template thing was giving me headaches for a while although it is easy if you've understood. For customisation make a custom template and leave the defaults alone. NOW i've got it. Thx, smeghead.
-
The last line should have been (for this 6.0 box here)
/sbin/e-smith/expand-template /etc/squid/squid.conf
After expanding there was a new line missing after the argument max_body_size in the squid.conf. To avoid this:
request_body_max_size 0 [hit return RETURN] in 76
thankew