Re: Fw: [squid-users] Not able to access specific web sites.

From: Colin Campbell <sgcccdc@dont-contact.us>
Date: Fri, 29 Nov 2002 08:35:34 +1000

Hi,

You should read the FAQ on how acl and http_access work.

On Thu, 28 Nov 2002 19:57:46 +0530
"Manjunath" <manjunath@iwavesystems.com> wrote:

> Hello All,
>
> I am forwarding this mail again as I did not get any response, I searched
> the FAQ & web and tried everything still I am not able to solve this, Please
> help me
>
> I have put http_access allow noporn before porn as below in squid.conf
>
> http_access allow noporn all localnet localhost

This matches when:
        your URL is in noporn
                AND
        your IP is in "all"
                AND
        your IP is in "localnet"
                AND
        your IP is in "localhost"

Clearly these conditions are unlikely to be simultaneously true, so this rule
can never match.

The ordering of the "acl" lines is irrelevant. Read the FAQ. There you'll see
something like

        http_access allow|deny acl AND acl AND acl ...
                OR
        http_access allow|deny acl AND acl AND acl ...
                OR
        http_access .....

Colin

--
Colin Campbell
Unix Support/Postmaster/Hostmaster
CITEC
+61 7 3227 6334
Received on Thu Nov 28 2002 - 15:35:51 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:11:38 MST