re: [squid-users] Enabling LFUDA removal policy

From: Matthew Richards <Matthew.Richards@dont-contact.us>
Date: Fri, 12 Sep 2003 08:29:21 +1000

Ok, here is my squid.conf. Hopefully it will shed some light on what is going wrong.

----------------------------------------------------------------------------------------------------------
cache_peer 165.228.128.10 parent 3128 0 no-query default
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
maximum_object_size 15360 KB
ipcache_size 2048
fqdncache_size 2048

cache_replacement_policy heap LFUDA

cache_dir ufs /usr/local/squid/var/cache 1000 16 256

auth_param basic program /usr/local/squid/libexec/ncsa_auth /usr/local/squid/etc/.passwd
auth_param basic children 5
auth_param basic realm My Company LAN
auth_param basic credentialsttl 2 hours

refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 10080

acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80
acl Safe_ports port 21
acl Safe_ports port 443 563
acl Safe_ports port 70
acl Safe_ports port 210
acl Safe_ports port 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl CONNECT method CONNECT
acl opensys proxy_auth REQUIRED

http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow opensys
http_access deny all
http_reply_access allow all

icp_access allow all
miss_access allow opensys
miss_access deny all
cache_mgr proxy@opensystems.com.au
cache_effective_user squid
cache_effective_group squid
visible_hostname squid.opensystems.com.au
coredump_dir /usr/local/squid/var/cache
----------------------------------------------------------------------------------------------------------

Thanks again,
Matt.
Received on Thu Sep 11 2003 - 16:28:22 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:19:39 MST