Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Aug 2000 16:06:00 +1000
From:      Peter Ortner <port@iname.com>
To:        questions@FreeBSD.ORG
Cc:        Nathan Vidican <webmaster@wmptl.com>
Subject:   Re: squid.conf
Message-ID:  <398D0048.B05621B4@iname.com>
References:  <398AD9DB.DD3CDD4F@wmptl.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is the default.

If you wish to use a host machine as a parent proxy, then you will need to add
a cache peer line thus:

cache_peer host parent http_port icp_port default no-query

This example always uses HTTP, and does not use ICP for it's querying.

Other nasties to watch out for is that the port will install everything under
the userid that's being used at the time, ie root. You will need to do a chown
nobody.nogroup /usr/local/squid so that squid can actually cache stuff. Also,
run squid -z to create the cache files first.

HTH

Nathan Vidican wrote:

> Does anyone have a sample squid.conf file to run squid as a stand-alone
> http proxy/caching app? I've tried posting to the squid mailing list,
> but the messages bounce back stating I must subscribe to the list,
> -something I don't really wish to do.
>         I just need a simple example, something from which I can follow an
> create my own. I will be using this machine to cache internet access for
> a small LAN, (approx 20machines), connected to the internet over
> dedicated 128K ISDN. So obviously not a huge cache, but I'll do just
> about anything to save some bandwidth :)
>
> --
> Nathan Vidican
> webmaster@wmptl.com
> Windsor Match Plate & Tool Ltd.
> http://www.wmptl.com/
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?398D0048.B05621B4>