[squid-users] TCP_MISS/200 with squid-2.7.STABLE6 Reverse proxy config

From: Quin Guin <quinguin_at_yahoo.com>
Date: Thu, 16 Apr 2009 13:18:59 -0700 (PDT)

Hi,

 I have been using squid for many years as a forward proxy and now I need to setup a reverse. I have read and study many different email threads and FAQ on this topic but I can't seem to get past TCP_MISS/200s. Please see my most basic config below and I know there is a lot more that can be done to make it more secure but I am just trying to get a TCP_MISS/200 then a TCP_HIT!!!

I am open to trying things and I tried installing 3.1 on RHELL4-U6 64 bit but it has its keeps giving this error: "configure: error: pthread library required but cannot be found." I will work on that later.

http_port 81 accel defaultsite=f99.net
cache_peer 10.20.20.39 parent 88 0 no-query originserver login=PASS name=dtvAccel
##ACL#
acl ALL dstdomain f99.net
http_access allow ALL
cache_peer_access dtvAccel allow All
cache_peer_access dtvAccel deny all
##Headers##
via on
header_access Via allow all
header_access Age deny all
header_access X-Cache deny all
##Cache Config##
collapsed_forwarding on
minimum_expiry_time 120 seconds
cache_mem 256 MB
maximum_object_size 40960 KB
maximum_object_size_in_memory 50 KB
ipcache_size 40960
# dc setting changed - orig first - new second
# cache_dir aufs /usr/local/squid-2.7/var/cache 50000 16 256
cache_dir ufs /usr/local/squid/var/cache 5000 16 256
access_log /usr/local/squid/var/logs/access.log squid
cache_store_log /usr/local/squid/var/logs/squid-store.log
#refresh_pattern ^ftp: 1440 20% 10080
#refresh_pattern ^gopher: 1440 0% 1440
#refresh_pattern (/cgi-bin/|\?) 0 20% 720
refresh_pattern -i \.jpg$ 10 90% 10 override-expire override-lastmod ignore-reload reload-into-ims
refresh_pattern -i \.jpeg$ 10 90% 10 override-expire override-lastmod ignore-reload reload-into-ims
refresh_pattern -i \.gif$ 10 90% 10 override-expire override-lastmod ignore-reload reload-into-ims
refresh_pattern -i \.png$ 10 90% 10 override-expire override-lastmod ignore-reload reload-into-ims
refresh_pattern -i \.swf$ 10 90% 10 override-expire override-lastmod ignore-reload reload-into-ims
refresh_pattern -i \.flv$ 10 90% 10 override-expire override-lastmod ignore-reload reload-into-ims
refresh_pattern -i \.js$ 2 90% 2 override-expire override-lastmod ignore-reload reload-into-ims
refresh_pattern -i \.css$ 2 90% 2 override-expire override-lastmod ignore-reload reload-into-ims
refresh_pattern -i \.htm$ 10 90% 10
refresh_pattern -i \.html$ 10 90% 10
#icp_access allow all
cache_mgr quinguin_at_yahoo.com
visible_hostname diuqs
logfile_rotate 12
coredump_dir /usr/local/squid/var/cache

Thank you very much,

Quin

      
Received on Thu Apr 16 2009 - 20:19:07 MDT

This archive was generated by hypermail 2.2.0 : Fri Apr 17 2009 - 12:00:02 MDT