From owner-freebsd-questions Sat Aug 5 23:19: 4 2000 Delivered-To: freebsd-questions@freebsd.org Received: from teapot29.domain7.bigpond.com (teapot29.domain7.bigpond.com [139.134.5.236]) by hub.freebsd.org (Postfix) with SMTP id 5ECA237B5F0 for ; Sat, 5 Aug 2000 23:19:00 -0700 (PDT) (envelope-from port@iname.com) Received: from localhost (localhost [127.0.0.1]) by teapot29.domain7.bigpond.com (NTMail 3.02.13) with ESMTP id pa512631 for ; Sun, 6 Aug 2000 16:20:00 +1000 Received: from DKBH-T-003-p-126-33.tmns.net.au ([139.134.126.33]) by mail7.bigpond.com (Claudes-Provisional-MailRouter V2.9 15/936039); 06 Aug 2000 16:19:59 Message-ID: <398D0048.B05621B4@iname.com> Date: Sun, 06 Aug 2000 16:06:00 +1000 From: Peter Ortner X-Mailer: Mozilla 4.74 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: questions@FreeBSD.ORG Cc: Nathan Vidican Subject: Re: squid.conf References: <398AD9DB.DD3CDD4F@wmptl.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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