#******************************************************************************* cache_effective_user squid cache_effective_group squid cache_swap_log /etc/squid/logs/swap.state negative_ttl 1 minutes negative_dns_ttl 1 minutes httpd_accel_host virtual httpd_accel_port 80 httpd_accel_with_proxy on httpd_accel_uses_host_header on cache_store_log none pid_filename none refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 refresh_pattern . 0 20% 4320 half_closed_clients off 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 cache_mgr admin@amolresaneh.com cachemgr_passwd 12345 http_port 3128 icp_port 3130 cache_mem 8 MB maximum_object_size 32000 KB request_body_max_size 1000 KB acl snmppublic snmp_community public snmp_port 161 snmp_access allow snmppublic snmp_access deny all acl Safe_ports port 80-90 21 443 563 70 210 1025-65535 280 488 591 777 acl SSL_ports port 443 563 acl srcacl0 src 192.168.0.0/255.255.255.0 acl dstacl0 dst 0.0.0.0/0.0.0.0 acl CONNECT method CONNECT acl GET method GET http_access deny !Safe_ports http_access deny CONNECT !SSL_ports http_access allow localhost http_access allow srcacl0 dstacl0 icp_access allow srcacl0 dstacl0 http_access deny all icp_access deny all miss_access allow all cache_dir ufs /etc/squid/cache 100 4 4 cache_access_log /etc/squid/logs/access.log cache_log /etc/squid/cache/logs/cache.log mime_table /etc/squid/mime.conf error_directory /etc/squid/errors prefer_direct on #*************************************************************************************************