[squid-users] Squid.conf Question Reverse Proxy

From: Jones, Keven <Keven.Jones_at_ncr.com>
Date: Wed, 7 Oct 2009 10:57:24 -0400

This is my current squid.conf. Could someone tell me what I need to add in order to accomplish
 adding a 2nd url img02.cprpt.com which will in turn point to a 2nd web server(172.19.23.92) which has separate
Content that the existing server(172.19.23.91).

http_port 80 accel defaultsite=img01.cprpt.com
cache_peer 172.19.23.91 parent 80 0 no-query originserver name=myAccel
acl all src 0.0.0.0/0.0.0.0
acl our_sites dstdomain img01.cprpt.com
http_access allow our_sites
cache_peer_access myAccel allow our_sites
cache_peer_access myAccel deny all
visible_hostname bv-ic01

I tried the following to no avail:

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

acl all src 0.0.0.0/0.0.0.0
acl our_sites dstdomain img01.cprpt.com
http_access allow our_sites
cache_peer_access myAccel allow our_sites
cache_peer_access myAccel deny all

cache_peer 172.19.23.92 parent 80 0 no-query originserver name=server_2
acl sites_server_2 dstdomain img02.cprpt.com
cache_peer_access server_2 allow sites_server_2

Thanks in advance!!
Received on Wed Oct 07 2009 - 14:57:32 MDT

This archive was generated by hypermail 2.2.0 : Thu Oct 08 2009 - 12:00:02 MDT