You are not logged in.

#1 2011-03-14 16:42:41

struthio
Member
Registered: 2005-11-07
Posts: 32

SQUID no file stored in cache_dir

hello,

Can anybody elp me with my squid configuration ?

acl all src all
include /etc/squid/lists/list_access
http_access deny all
icp_access allow localnet
icp_access deny all
http_port 3128 transparent
hierarchy_stoplist cgi-bin ?
cache_mem 1 MB
 maximum_object_size_in_memory 8 KB
memory_replacement_policy lru
cache_replacement_policy lru
cache_dir ufs /var/cache/squid 3069 16 256
store_dir_select_algorithm least-load
minimum_object_size 0 KB
maximum_object_size 512 MB
access_log /var/log/squid/access.log squid
cache allow hosts_video
refresh_pattern -i \.(gif|png|jpg|jpeg|ico|bmp)$ 10080 90% 999999 ignore-no-cache override-expire ignore-private ignore-reload
refresh_pattern -i \.(iso|avi|wav|mp3|mp4|mpeg|swf|flv|x-flv)$ 10080 90% 999999 ignore-no-cache override-expire ignore-private ignore-reload
refresh_pattern -i \.(deb|rpm|exe|zip|7z|rar|tar|tgz|ram|rar|bin|ppt|doc|tiff|gz)$ 10080 90% 999999 ignore-no-cache override-expire ignore-private ignore-reload
refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern .               0       20%     4320
quick_abort_min -1 KB
read_ahead_gap 512 KB
range_offset_limit -1
acl shoutcast rep_header X-HTTP09-First-Line ^ICY.[0-9]
upgrade_http0.9 deny shoutcast
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
coredump_dir /var/cache/squid

The problem is that there is no files stored in my cache ! I user proxy as transparent proxy for every http request (configured in iptables), I can see requests in access.log and sites are opened correctly, but no files are stored on disk.
How can I fix that ?

Offline

Board footer

Powered by FluxBB