The development of squid icap is now transferred
to the main Squid developer source base. See ICAP projects at http://squid.sf.net/projects.html#icap
for
more info.
|
This package gives the necessary files to ICAP enable Squid Web Proxy [5]. It contains the following files:
An earlier version of these sources are also available as a squid developer project.
Download squid-icap-client and install now!
See Also:
Ralf's Squid
ICAP client configuration page
Squid ICAP client project
page
2. Download ICAP enabled squid sources using one the following methods:
(A) TARBALL: Download the gzipped tarball of icap enabled squid sources from http://sourceforge.net/project/showfiles.php?group_id=47737
(B) SQUID DEVELOPERS: Patch the squid sources
with ICAP support:
(a) Download squid HEAD sources from http://www.squid-cache.org/Versions/v2/HEAD/
or use the one you already have.
(b) The patch file is available with the release. It is squid-HEAD-icap1.2.patch
(c) Goto the parent directory containing subdirectory squid and apply
the patch.
patch -p4 < squid-HEAD-icap1.2.patch
(d) Alternatively, you can download the sources from the "icap" branch
from squid developer cvs repository at http://sf.net/cvs/?group_id=1781
. Please note that this may NOT be really up to date w.r.t icap support.
(C) SQUID_ICAP CLIENT DEVELOPERS: Check out
sources from squid-icap CVS repository using the 'stable' tag as
per the instructions at http://sf.net/cvs/?group_id=47737 using
cvs z3 -d:pserver:anonymous@cvs.icap-server.sourceforge.net:/cvsroot/icap-server
co -r stable squid-icap-client
and execute the script "bootstrap.sh" to create the configure script.
3. Configure and build squid sources with this patch.
cd squid
./configure --prefix=/usr/local/squid
--enable-icap-support
make
make install
You now have the squid installed at /usr/local/squid
4. Please refer to http://www.squid-cache.org/Doc/FAQ/FAQ-2.html
for
other options to configure script and a detailed info on compiling squid
in general.
The config file for squid is /usr/local/squid/etc/squid.conf (assuming your prefix was /usr/local/squid).
1. Note that the default port at which squid runs is 3128. If you want to change it, change the line starting from http_port
2. If you are using an upstream proxy, you may want to set it using
the cache_peer parameter.
cache_peer proxy.india.hp.com parent 8088 default
3. You may also have to check whether the following lines show a valid
username and group.
cache_effective_user geetham
cache_effective_group users
4. Check that the access permissions are right! If you want to be liberal,
you can just have
http_access allow all
as the last line under http_access category.
5. Ensure that you have the write permissions to the log directory, cache_dir and pid_filename
6. Configure the ICAP support using the instructions here
2. To run squid
squid
3. To run squid in debug mode
squid -N -X
Now point your browser's proxy to the host running squid
at port 3128 (or whateever)
($Id: squid.html,v 1.9 2003/12/08 04:47:46 geetham Exp $ )