RE: [squid-users] delete one item from the cache

From: Peter Marshall <peter.marshall@dont-contact.us>
Date: Thu, 2 Dec 2004 14:59:17 -0400

It is on another port .. but I tried that too ... here is my entire
squid.conf file .... Do you see anything that could be causing the problem ?

Thank you very much for the sugestions and the help.

Peter
------------

http_port 192.168.1.254:8080
http_port x.x.x.5:8081
icp_port 0
cache_mem 256 MB
cache_dir ufs /usr/local/squid/var/cache 8000 16 256
debug_options ALL,1 33,2
emulate_httpd_log on

acl public snmp_community public

acl all src 0.0.0.0/0.0.0.0
acl localhost src 127.0.0.1/255.255.255.255
acl caris_int src 192.168.200.0/255.255.248.0
acl caris_dmz src x.x.x.0/255.255.255.192
acl admin_lst src 192.168.202.73/32 192.168.202.75/32
acl ALLOW_WIN_UP src 192.168.200.3/32 192.168.202.3/32 192.168.202.83
192.168.202.84 192.168.201.82/32
acl forcerobak src 192.168.100.0/24 x.x.x.50/32
acl aca src 192.168.90.0/24
acl Safe_ports port 21 80 88 443 563 2095 7778 8020 8090 8080 8081 8087 8096
8030 8194 8585 8988

http_access allow localhost
acl manager proto cache_object
http_access allow manager localhost

acl PURGE method PURGE
http_access allow PURGE localhost
http_access deny PURGE

acl snmpServer src 192.168.202.73/32
acl ICQ url_regex -i .icq.com
acl MSN req_mime_type ^application/x-msn-messenger$
acl MSN2 url_regex -i webmessenger
acl STREAM rep_mime_type ^application/octet-stream$
acl YAHOO url_regex .msg.yahoo.com
acl MICROSOFT url_regex -i .windowsupdate
acl banned_types url_regex -i .mpeg$ .mpg$ .avi$ .wmv$ .mp3$ \.rm$ .asf$
.wma$ \.ram$ \.aif$ \.ra$ .asx$
acl INTERNAL url_regex caris.priv
acl VIRUS url_regex -i genmexe.biz

http_access allow localhost

snmp_access deny !snmpServer

http_access allow !Safe_ports admin_lst
http_access allow !Safe_ports forcerobak
http_access deny !Safe_ports

http_access allow ICQ forcerobak
http_access allow ICQ aca
http_access allow ICQ admin_lst
http_access deny ICQ
http_access deny YAHOO
http_access deny VIRUS

http_access allow MICROSOFT admin_lst
http_access allow MICROSOFT forcerobak
http_access allow MICROSOFT aca
http_access allow MICROSOFT ALLOW_WIN_UP
http_access deny MICROSOFT

http_access allow banned_types admin_lst
http_access deny banned_types

http_access allow MSN forcerobak
http_access allow MSN aca
http_access allow MSN admin_lst
http_access deny MSN
http_access deny MSN2

http_access allow forcerobak
http_access allow aca
http_access allow admin_lst
http_access allow caris_int
http_access allow caris_dmz

http_access deny all

-----Original Message-----
From: Chris Robertson [mailto:crobertson@gci.com]
Sent: Thursday, December 02, 2004 2:41 PM
To: squid-users@squid-cache.org
Subject: RE: [squid-users] delete one item from the cache

Squid must be set to listen on a different port than default. I use port
8080 myself, so for me the command would be:

squidclient -p 8080 -m PURGE http://theaddressinquestion

Chris

-----Original Message-----
From: Peter Marshall [mailto:peter.marshall@caris.com]
Sent: Thursday, December 02, 2004 8:44 AM
To: Elsen Marc; squid-users@squid-cache.org
Subject: RE: [squid-users] delete one item from the cache

This is what I have in my squid.conf file

acl PURGE method PURGE
http_access allow PURGE localhost
http_access deny PURGE

-----Original Message-----
From: Elsen Marc [mailto:elsen@imec.be]
Sent: Thursday, December 02, 2004 11:05 AM
To: Peter Marshall; squid-users@squid-cache.org
Subject: RE: [squid-users] delete one item from the cache

>
> I need to delete one particular address from the cache .. but
> don't know
> how. The problem is that when the user goes to
> http://theaddressinquestion
> it used to redirect to
> http://theaddressinquestion/manager.html but now it
> is supposed to redirect to
> http://theaddressinquesion/index.html . This
> works from outside the proxy, but for people using the proxy
> it still goes
> to the manager page. Any idea's how to fix this.

   % squidclient -m PURGE http://theaddressinquestion

   Make sure the PURGE method is allowed in squid.conf.

   M.
Received on Thu Dec 02 2004 - 11:59:28 MST

This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:01 MST