- Update MASTER_SITES - Move default cache and log directories from $PREFIX/squid/ to /var/squid/ PR: 145674 Submitted by: Thomas-Martin Seck <tmseck@web.de> (maintainer)
28 lines
1.3 KiB
Text
28 lines
1.3 KiB
Text
o You can find the configuration files for this package in the
|
|
directory %%PREFIX%%/etc/squid.
|
|
|
|
o The default cache directory is /var/squid/cache.
|
|
The default log directory is /var/squid/logs.
|
|
|
|
Note:
|
|
You must initialize new cache directories before you can start
|
|
squid. Do this by running "squid -z" as 'root' or '%%SQUID_UID%%'.
|
|
If your cache directories are already initialized (e.g. after an
|
|
upgrade of squid) you do not need to initialize them again.
|
|
|
|
o The default configuration will deny everyone but local networks
|
|
as defined in RFC 1918 access to the proxy service.
|
|
Edit the "http_access allow/deny" directives in
|
|
%%PREFIX%%/etc/squid/squid.conf to suit your needs.
|
|
|
|
To enable Squid, set squid_enable=yes in either
|
|
/etc/rc.conf, /etc/rc.conf.local or /etc/rc.conf.d/squid
|
|
Please see %%PREFIX%%/etc/rc.d/squid for further details.
|
|
|
|
Note:
|
|
If you just updated your Squid installation from 2.6 or earlier,
|
|
make sure to check your Squid configuration against the 2.7 default
|
|
configuration file %%PREFIX%%/etc/squid/squid.conf.default.
|
|
|
|
Additionally, you should check your configuration by calling
|
|
'squid -f /path/to/squid.conf -k parse' before starting Squid.
|