[squid-users] Squid Reverse Proxy help

From: Jones, Keven <Keven.Jones_at_ncr.com>
Date: Mon, 19 Oct 2009 11:23:58 -0400

Need help with finalizing my config. This config is not working for the 2nd server. Can
Anyone see what I'm missing or have configured incorreclty.

 img01.cprpt.com is caching but img02.cprpt.com will not. I had orginiall forgotten the
 2nd cache_peer_access server_2 allow sites_server2 but this has been added and still not working.

This url should work as the images and directories exist:

http://img02.cprpt.com/img/bvt/10002/ncrLogo_100909.gif

Thanks for looking at this for me!

---------------------------
Squid.conf:

http_port 80 accel defaultsite=img01.cprpt.com
cache_peer 172.19.23.91 parent 80 0 no-query originserver name=myAccel
cache_peer 172.19.23.92 parent 80 0 no-query originserver name=server_2

acl all src 0.0.0.0/0.0.0.0
acl our_sites dstdomain img01.cprpt.com
acl sites_server_2 dstdomain img02.cprpt.com

http_access allow our_sites
http_access allow sites_server_2

cache_peer_access myAccel allow our_sites
cache_peer_access server_2 allow sites_server_2

cache_peer_access myAccel deny all
cache_peer_access server_2 deny all

visible_hostname bv-ic01

cache_dir ufs /data/spool/squid 100 16 256

cache_access_log /data/log/squid/access.log

cache_log /data/log/squid/cache.log

cache_store_log /data/log/squid/store.log
Received on Mon Oct 19 2009 - 15:24:06 MDT

This archive was generated by hypermail 2.2.0 : Tue Oct 20 2009 - 12:00:03 MDT