Re: [squid-users] Configuration file

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 24 Apr 2009 12:05:21 +1200

Wong wrote:
> All,
>
> Below the lines that exist in my squid.conf
>
> acl our_networks src 192.168.1.0/24
> http_access allow our_networks
> http_access deny all
>
> Will it be more effective below?

Precisely zero difference on its own.

Utility comes from whether or not custom error pages are used and need
the blocking part of "deny !our_networks" to kick off a specific error
response.

> And what is the impact?
>

Newbie admin coming and looking at the config may be confused.

> acl our_networks src 192.168.1.0/24
> http_access deny !our_networks
> (and line "http_access deny all" be removed)
>
> Please advise
>
> Thx & Rgds,
>
> Wong
>
>
>

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE6 or 3.0.STABLE14
   Current Beta Squid 3.1.0.7
Received on Fri Apr 24 2009 - 00:05:17 MDT

This archive was generated by hypermail 2.2.0 : Fri Apr 24 2009 - 12:00:03 MDT