problem by cache server

Protecting your Linux box
Post Reply
net80
Cadet
Posts: 10
Joined: Wed Jul 26, 2006 1:32 pm

problem by cache server

Post by net80 »

hi

why my cache server do not cache files mp3 and zip files and avi files and.....?
pleas help me


http_port 3128
hierarchy_stoplist cgi-bin ? bbc cnn hotmail
acl QUERY urlpath_regex cgi-bin \? bbc cnn
no_cache deny QUERY
cache_mem 4 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 1000 KB
minimum_object_size 0 KB
cache_dir diskd /d/cache1 4000 16 256 Q1=64 Q2=128
cache_dir diskd /d/cache2 4000 16 256 Q1=64 Q2=128
cache_dir diskd /d/cache3 4000 16 256 Q1=64 Q2=128
cache_dir diskd /d/cache4 4000 16 256 Q1=64 Q2=128
cache_store_log none
emulate_httpd_log on
cache_dns_program /usr/local/squid/libexec/dnsserver
dns_children 10
unlinkd_program /usr/local/squid/libexec/unlinkd
redirect_children 5
redirect_rewrites_host_header on
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
refresh_pattern -i \.mp3$ 10080 90% 43200 override-expire override-lastmod
refresh_pattern -i \.ra$ 10080 90% 43200 override-expire override-lastmod
refresh_pattern -i \.zip$ 10080 90% 43200 override-expire override-lastmod
refresh_pattern http://*.windowsupdate.microsoft.com/ 0 80% 20160
reload-into-ims
refresh_pattern http://office.microsoft.com/ 0 80% 20160 reload-into-ims
refresh_pattern http://windowsupdate.microsoft.com/ 0 80% 20160
reload-into-ims
refresh_pattern http://wxpsp2.microsoft.com/ 0 80% 20160 reload-into-ims
refresh_pattern http://xpsp1.microsoft.com/ 0 80% 20160 reload-into-ims
refresh_pattern http://w2ksp4.microsoft.com/ 0 80% 20160 reload-into-ims
refresh_pattern http://download.microsoft.com/ 0 80% 20160 reload-into-ims
refresh_pattern http://download.macromedia.com/ 0 80% 20160 reload-into-ims
refresh_pattern ftp://ftp.nai.com/ 0 80% 20160 reload-into-ims
refresh_pattern http://ftp.software.ibm.com/ 0 80% 20160 reload-into-ims
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 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
http_access allow all
http_access allow manager localhost
http_access deny manager
http_access deny CONNECT !SSL_ports
http_access deny all
icp_access allow all
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
cache_effective_user squid
cache_effective_group squid
header_access Accept-Encoding deny all
icon_directory /usr/local/squid/share/icons
snmp_port 3401
snmp_access allow all
coredump_dir /usr/local/squid/var/cache
Post Reply