Top Nav

Archive | Webservers

File Upload Size Limits

In php.ini the following parameters impact file uploads:

  • file_uploads
  • upload_tmp_dir
  • upload_max_filesize
  • post_max_size
  • max_input_time
  • memory_limit

Apache might also impose a limit on the size of file uploads using the LimitBodyRequest directive. See for details.


Squid Guard


Route Table Testing

Use this command:

To test from a specific source use:


Squid Guard

We’ll start by installing Squid:

Squid is now installed at /usr/local/squid.

Notice that we use the “wget” command to download the software. Then we unpack and build the software. The build sequence is very typical for Linux packages – configure, make, make install.

We finish up by saving the distribution to /root/archive and removing the build
directory that is no longer needed.

Configuration for squid is pretty simple in the basic case. All configuration is
stored in a single file located at /usr/local/squid/etc/squid.conf.

The squid.conf file can be edited with your favoriate text editor. All though there
are hundreds of configuration options only a few are needed in a basic install. We made the following changes:

a. Find the line that looks like this (approx line 684):

Remove the “#” comment from the begining of the line and set the desired cache size and location:

This defines a cache of not more then 768MB of disk storage.


Squid + NTLM