2006-03-18 18:11:13 +01:00
|
|
|
o You can find the configuration files for this package in the
|
|
|
|
directory %%PREFIX%%/etc/squid.
|
2007-02-07 09:42:31 +01:00
|
|
|
|
2010-05-02 12:53:14 +02:00
|
|
|
o The default cache directory is /var/squid/.
|
|
|
|
The default log directory is /var/log/squid/.
|
2007-02-07 09:42:31 +01:00
|
|
|
|
2006-03-18 18:11:13 +01:00
|
|
|
Note:
|
|
|
|
You must initialize new cache directories before you can start
|
2007-02-07 09:42:31 +01:00
|
|
|
squid. Do this by running "squid -z" as 'root' or '%%SQUID_UID%%'.
|
2006-03-18 18:11:13 +01:00
|
|
|
If your cache directories are already initialized (e.g. after an
|
2007-02-07 09:42:31 +01:00
|
|
|
upgrade of squid) you do not need to initialize them again.
|
2006-03-18 18:11:13 +01:00
|
|
|
|
2010-05-02 12:53:14 +02:00
|
|
|
o The default configuration will deny everyone but the local host and
|
|
|
|
local networks as defined in RFC 1918 for IPv4 and RFCs 4193 and
|
|
|
|
4291 for IPv6 access to the proxy service. Edit the "http_access
|
|
|
|
allow/deny" directives in %%PREFIX%%/etc/squid/squid.conf
|
|
|
|
to suit your needs.
|
2006-03-18 18:11:13 +01:00
|
|
|
|
2006-11-05 00:03:40 +01:00
|
|
|
To enable Squid, set squid_enable=yes in either
|
2006-05-22 18:11:43 +02:00
|
|
|
/etc/rc.conf, /etc/rc.conf.local or /etc/rc.conf.d/squid
|
2007-09-24 14:41:24 +02:00
|
|
|
Please see %%PREFIX%%/etc/rc.d/squid for further details.
|
2007-02-07 09:42:31 +01:00
|
|
|
|
|
|
|
Note:
|
2007-06-12 22:43:14 +02:00
|
|
|
If you just updated your Squid installation from an earlier version,
|
2009-07-07 09:46:48 +02:00
|
|
|
make sure to check your Squid configuration against the 3.1 default
|
2007-02-07 09:42:31 +01:00
|
|
|
configuration file %%PREFIX%%/etc/squid/squid.conf.default.
|
2009-07-07 09:46:48 +02:00
|
|
|
|
|
|
|
%%PREFIX%%/etc/squid/squid.conf.documented is a fully annotated
|
|
|
|
configuration file you can consult for further reference.
|
2007-02-07 09:42:31 +01:00
|
|
|
|
|
|
|
Additionally, you should check your configuration by calling
|
|
|
|
'squid -f /path/to/squid.conf -k parse' before starting Squid.
|
2007-06-12 22:43:14 +02:00
|
|
|
|