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.
RE: [squid-users] delete one item from the cache
I had that added ... the stuff on the faq page (very sorry about not seeing this ... although I did nlook) acl PURGE method PURGE acl localhost src 127.0.0.1 http_access allow PURGE localhost http_access deny PURGE when I ran squid -k reconfigure I got the results below ... so I removed the acl localhost src 127.0.0.1. This seemed to work ok. 2004/12/02 11:24:12| WARNING: '127.0.0.1' is a subnetwork of '127.0.0.1' 2004/12/02 11:24:12| WARNING: because of this '127.0.0.1' is ignored to keep splay tree searching predictable 2004/12/02 11:24:12| WARNING: You should probably remove '127.0.0.1' from the ACL named 'localhost' However, when I ran the following, I got the error below. ./squidclient -m PURGE http://142.166.132.219/ client: ERROR: Cannot connect to localhost:3128: Connection refused any ideas Peter -Original Message- From: Elsen Marc [mailto:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 11:07 AM To: Peter Marshall 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. BTW : http://www.squid-cache.org/Doc/FAQ/FAQ-7.html#ss7.5 M.
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:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 8:44 AM To: Elsen Marc; [EMAIL PROTECTED] 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:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 11:05 AM To: Peter Marshall; [EMAIL PROTECTED] 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.
RE: [squid-users] delete one item from the cache
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:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 2:41 PM To: [EMAIL PROTECTED] 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:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 8:44 AM To: Elsen Marc; [EMAIL PROTECTED] 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:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 11:05 AM To: Peter Marshall; [EMAIL PROTECTED] 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.
RE: [squid-users] delete one item from the cache
It's not listening on the loopback interface. You've specified http_port with IP addresses. You have three choices: 1) Remove the ip addresses from the http_port lines (let squid listen to the two ports on all interfaces, and just limit access using the firewall and acls) 2) Add another http_port line (http_port 127.0.0.1 8080 # would work fine) 3) Add an acl that specifies the IP address of the server, change your PURGE access to http_access allow PURGE server_ip, and run squidclient -h 192.168.1.254 -p 8080 -m PURGE http://purgethisurl;. Chris -Original Message- From: Peter Marshall [mailto:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 9:59 AM To: Chris Robertson; [EMAIL PROTECTED] Subject: RE: [squid-users] delete one item from the cache 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:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 2:41 PM To: [EMAIL PROTECTED] 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:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 8:44 AM To: Elsen Marc; [EMAIL PROTECTED] 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:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 11:05 AM To: Peter Marshall; [EMAIL PROTECTED] 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.
RE: [squid-users] delete one item from the cache
Thanks, That let me remove what I wanted to remove ... sort of ..(still bringing the wrong page) ... but it let me remove what I typed. Thank you for your help. Peter -Original Message- From: Chris Robertson [mailto:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 3:08 PM To: [EMAIL PROTECTED] Subject: RE: [squid-users] delete one item from the cache It's not listening on the loopback interface. You've specified http_port with IP addresses. You have three choices: 1) Remove the ip addresses from the http_port lines (let squid listen to the two ports on all interfaces, and just limit access using the firewall and acls) 2) Add another http_port line (http_port 127.0.0.1 8080 # would work fine) 3) Add an acl that specifies the IP address of the server, change your PURGE access to http_access allow PURGE server_ip, and run squidclient -h 192.168.1.254 -p 8080 -m PURGE http://purgethisurl;. Chris -Original Message- From: Peter Marshall [mailto:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 9:59 AM To: Chris Robertson; [EMAIL PROTECTED] Subject: RE: [squid-users] delete one item from the cache 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:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 2:41 PM To: [EMAIL PROTECTED] 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:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 8:44 AM To: Elsen Marc; [EMAIL PROTECTED] 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:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 11:05 AM To: Peter Marshall; [EMAIL PROTECTED] 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