Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 03-04-2009, 01:03 PM   #1
Registered: Jun 2004
Location: Bharat
Distribution: RedHat, Debian, FreeBSD, Fedora, Centos
Posts: 114

Rep: Reputation: 16
squid c-icap download file problem

The problem which I am facing is with the download of any file
from a client machine, I get redirected to the same file, and I have a
copy of same file on proxy server under
/home/i_cap_virsave/www/htdocs/downloads/ with different names.

Ideally it should download the file, and remove downloaded file from
squid proxies /home/i_cap_virsave/www/htdocs/downloads folder.

what can be the problem? has anyone tried squid+c-icap together?

The setup is as follows:

I have squid-2.7.6, dansguadian version, and
c-icap-030606_5,1 installed on FreeBSD7.1

c-icap is listening on port 1344
running as user/group cicap

squid is running as user/group squid port 3128 (checks for the virus
by contacting port 1344 from c-icap)

dansguardian is running on port 8080 (connects to the squid port 3128)

Clients are accessing threw port 8080 of proxy server.

I have defined a different path with as follows [file name
srv_clamav.VirSaveDir /home/i_cap_virsave/www/htdocs/downloads/

To retrive downloads I have changed the parameter of


I copied /usr/ports/www/c-icap/work/c_icap-030606rc1/contrib/
to /usr/local/www/cgi-bin/ directory
started the apache service.

Anuj Singh


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Restrict download of file of certain size using squid. linuxlover.chaitanya Linux - Server 7 12-06-2008 06:22 PM
download torrent file through squid soumalya Linux - Networking 1 11-26-2008 04:55 PM
Block any download type of file in squid....... farrukhndm Linux - Server 0 09-02-2008 06:29 AM
block *.* file download using squid soumalya Linux - Security 6 12-21-2006 02:51 AM
Squid + ICAP server = ? dimm_coder Linux - Software 0 12-09-2003 02:16 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:35 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration