Re: [squid-users] Reverse proxy Basic Accelerator

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 17 Feb 2010 11:23:11 +1300

On Tue, 16 Feb 2010 20:21:52 +0100, don Paolo Benvenuto
<paolobenve_at_gmail.com> wrote:
> Hi!
>
> I'm trying to configure a basic reverse proxy accelerator for mediawiki,
> and I found the instructions at
> http://wiki.squid-cache.org/ConfigExamples/Reverse/BasicAccelerator
>
> but unfortunately they don't work with squid 2.7.
>
> When trying to run squid I get:
>
> ACL name 'all' not defined!
> FATAL bungled squid.conf line 6: cache_peer_access wiki deny all
>
> it seems that the cache_peer_access syntax has changed from 2.6 to 2.7,
> but looking for light in the docs I couldn't figure how should I change
> that config file.
>
> Any hint?

Nothing has changed.
 You simply have not defined the "all" ACL in squid.conf before the point
you tried to use it.

Add this at the start of the config:
  acl all src all

(if you have a later entry for "acl all ..." you can remove that later one
and avoid some startup warnings).

Amos
Received on Tue Feb 16 2010 - 22:23:20 MST

This archive was generated by hypermail 2.2.0 : Wed Feb 17 2010 - 12:00:05 MST