rendered paste bodyhttp_port 192.217.247.65:80
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
# Memory usage configuration
cache_mem 32 MB # Cache memory to use per process
cache_dir ufs /var/cache/squid 1 1 8
cache_swap_high 101 # Percentage of cache used: As swap utils close to high-water mark, object eviction becomes more aggressive.
cache_swap_low 100 # Percentage of cache used: Replacement the swap (disk) usage is above the low-water mark and attempts to maintain utilr the low-water mark.
maximum_object_size 1024 KB # Max size of objects in cache
minimum_object_size 1024 KB # Min size of objects in cache
maximum_object_size_in_memory 1024 KB # Max size of objects in memory
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 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 SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 1025-65535
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 deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
#
http_access allow localhost
#http_access deny all
icp_access allow all
miss_access allow all
visible_hostname www.tbns.net
unique_hostname parser.tbns.net
httpd_accel_host parser.tbns.net
httpd_accel_port 80
httpd_accel_with_proxy off
forwarded_for on
#cache_store_log /usr/local/squid/logs/cache_store_log
#cache_access_log /usr/local/squid/logs/cache_access_log
cache_store_log /dev/null
cache_access_log /dev/null
#cache_store_log /var/log/squid/store_log
#cache_access_log /var/log/squid/access_log
# MY SECTION
redirect_program /etc/squid/tbns
redirect_children 25