Re: [squid-users] Always Direct

From: Kinkie <kinkie-squid@dont-contact.us>
Date: Fri, 10 Feb 2006 17:02:11 +0100

On Fri, 2006-02-10 at 10:29 -0500, donovan wrote:
> greetings,
>
> squid running like a champ. Anyhoo. i need to make squid go direct
> for some sites. ( reasons: some edu sites don't cache well ).
> did some reading
>
> acl directlist dstdomain .some.com
> always_direct allow directlist
>
> two things. Where in my configuration should this line go.

Easy: anywhere :)

> and
> instead of listing each domain ina single line. can I point to a
> file. If yes, what would the file format look like.

One domain per line. E.g:
.some.com
.someother.com
.some.edu

etc

> acl directlist dstdomain /local/file ??????

acl directlist dstdomain "/local/file"
(note the quotes)

>
>
> (snip)
> acl manager proto cache_object
> acl localhost src 127.0.0.1/255.255.255.255
>
> acl all src 0.0.0.0/0.0.0.0
> acl s3.1 src 192.199.0.0/16 192.200.0.0/16
> acl s4.1 src 192.208.0.0/16 192.209.0.0/16
> acl s5.1 src 192.217.0.0/16 192.218.0.0/16
> acl core src 10.3.1.0/24
> # access to http traffic
>
> http_access allow manager localhost
> #http_access allow manager apache
> http_access allow s3.1
> http_access allow s4.1
> http_access allow s5.1
> http_access allow core
> http_access deny all
> (snip)
>
> not sure where i would place that line.

Anywhere is fine.
Received on Fri Feb 10 2006 - 09:02:24 MST

This archive was generated by hypermail pre-2.1.9 : Wed Mar 01 2006 - 12:00:03 MST