[squid-users] Reverse proxy config with squid3?

From: Bucci, David G <david.g.bucci_at_lmco.com>
Date: Mon, 02 Aug 2010 13:25:11 -0400

Hi - I'm working to establish a squid accel config with squid running on the same server as an Apache instance.

With Squid 2.7, the following config worked (I have Apache listening on 127.0.0.1:80):

        http_port 192.168.1.7:80 accel defaultsite=192.168.1.7
        cache_peer 127.0.0.1 parent 80 0 no-query originserver name=va
        acl all src all
        cache_peer_access va allow all
        http_access allow all

But I would like to be using Squid3 (to stay consistent with the other Squid installs I have) -- and the above doesn't work, I just get "Access Denied" for everything. Is there something fundamentally wrong with the above?

(Tangent, but even though ACL "all" is supposed to be built in after 2.5, the above doesn't work unless I explicitly define "all". Also, on reconfigure, I get an error:

        2010/08/02 13:15:35| WARNING: '0.0.0.0/0.0.0.0' is a subnetwork of '0.0.0.0/0.0.0.0'
        2010/08/02 13:15:35| WARNING: because of this '0.0.0.0/0.0.0.0' is ignored to keep splay tree searching predictable
        2010/08/02 13:15:35| WARNING: You should probably remove '0.0.0.0/0.0.0.0' from the ACL named 'all'

Even though it works. <shrug>).

----
David G. Bucci
240.668.4024
david.g.bucci_at_lmco.com (unclass) 
When Dr. Bruce Banner becomes angry, he changes into the Incredible Hulk; when the Incredible Hulk becomes angry, he changes into Chuck Norris.
                          -- ChuckNorrisFacts.com
Received on Mon Aug 02 2010 - 17:25:24 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 03 2010 - 12:00:02 MDT