All pastes #176193 Raw Edit

Mine

public text v1 · immutable
#176193 ·published 2006-09-19 14:12 UTC
rendered paste body
http_port 3128

cache_mem 32 MB
maximum_object_size 20480 KB
maximum_object_size_in_memory 32 KB

ipcache_size 8192
fqdncache_size 8192

#cache_replacement_policy heap LFUDA
#memory_replacement_policy heap LFUDA

cache_dir ufs /var/spool/squid 200 16 256

ftp_passive on

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

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 mine src 192.168.3.0/24
acl SSL_ports port 443 563
acl Safe_ports port 80
acl Safe_ports port 81
acl Safe_ports port 7101
acl Safe_ports port 20
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

http_access allow manager localhost
http_access deny manager
http_access allow mine
http_access allow localhost
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports

#http_access deny all
http_access deny all

cache_mgr sherry.safdar@gmail.com
visible_hostname DataCable

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
#cache_peer 192.168.10.54  sibling 3128 0 no-query default
#acl magic_words1 url_regex -i 192.168
#acl magic_words2 url_regex -i ftp .exe .mp3 .vqf .tar.gz .gz .rpm .zip .rar .avi .mpeg .mpe .mpg .qt .ram .rm .iso .raw .wav .mov .3gp .com .bat .bin .thm
#acl day time 09:00-23:59
#delay_pools 2
#delay_class 1 2
#delay_parameters 1 -1/-1 -1/-1
#delay_access 1 allow magic_words1
#delay_class 2 2
#delay_parameters 2 5000/150000 5000/120000
#delay_access 2 allow day
#delay_access 2 deny !day
#delay_access 2 allow magic_words2