Koozali.org: home of the SME Server

Squid: request_body_max_size

mbachmann

Squid: request_body_max_size
« 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.

Offline smeghead

  • *
  • 557
  • +0/-0
Squid: request_body_max_size
« Reply #1 on: February 20, 2004, 07:09:06 PM »
.. 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
..................

Anonymous

Squid: request_body_max_size
« Reply #2 on: February 24, 2004, 09:44:33 AM »
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.

mbachmann

Squid: request_body_max_size
« Reply #3 on: February 25, 2004, 08:34:40 AM »
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