Article View: aus.computers.linux
Article #47479Re: squid
From: Lex Weaver
Date: Sat, 09 Jan 1999 00:00
Date: Sat, 09 Jan 1999 00:00
37 lines
1702 bytes
1702 bytes
In article E0B32040@hahn.strongbow, Super User <root@hahn.strongbow> writes: > Hi, > > I have been trying to configure squid to allow access to only three or > four sites on the internet. ie deny access to everything then allow > spific sites but the deny always overides the allow. > > Does anyone know how to fix this? > > Thanks > Harold > The first matching rule found is the one that takes effect. So if your deny rule appears first and matches the site being requested, then the request will be denied. Hence, you should have something approaching the following to achieve what you want: http_access allow good_domains http_access deny everything Note good_domains and everything have to be set earlier in acl statements. cheers, Lex ---------------------------------------------------------------------------- Lex Weaver Lex.Weaver@anu.edu.au IT Development Manager http://burgmann.anu.edu.au Burgmann College Ph: (02) 6279 8180 bh Australian National University (02) 6267 5204 ah Canberra AUSTRALIA Fax: (02) 6257 2655 ============================================================================
Technical Details
Message-ID:
<77501j$3di@ricetub.anu.edu.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<369594F2.E0B32040@hahn.strongbow>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102983,84f91ad9d7d59eb X-Google-Attributes: gid102983,public From: lex@cs.anu.edu.au (Lex Weaver) Subject: Re: squid Date: 1999/01/09 Message-ID: <77501j$3di@ricetub.anu.edu.au> X-Deja-AN: 430173385 Distribution: world X-NNTP-Posting-Host: 150.203.164.39 References: <369594F2.E0B32040@hahn.strongbow> X-Trace: 9 Jan 1999 00:09:09 +1000, 150.203.164.39 Organization: Australian National University Reply-To: lex@cs.anu.edu.au Newsgroups: aus.computers.linux