From owner-freebsd-questions@FreeBSD.ORG Wed Mar 9 15:45:21 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 096E41065670 for ; Wed, 9 Mar 2011 15:45:20 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from mx1.bjare.net (mx1.bjare.net [212.31.160.3]) by mx1.freebsd.org (Postfix) with ESMTP id 7CD9D8FC0C for ; Wed, 9 Mar 2011 15:45:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx1.bjare.net (Postfix) with ESMTP id C62B65E298 for ; Wed, 9 Mar 2011 16:26:38 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mx1.bjare.net X-Spam-Flag: NO X-Spam-Score: -2.409 X-Spam-Level: X-Spam-Status: No, score=-2.409 tagged_above=-999 required=5 tests=[AWL=0.191, BAYES_00=-2.599, SPF_PASS=-0.001] Received: from mx1.bjare.net ([127.0.0.1]) by localhost (mx1.bjare.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id olNFgfv+De+B for ; Wed, 9 Mar 2011 16:26:36 +0100 (CET) X-BN-MX1: ja X-BN-MailInfo: BjareNet Received: from bljbsd01.no-ip.org (c-195-216-040-164.static.bjare.net [195.216.40.164]) by mx1.bjare.net (Postfix) with ESMTP id 716705E39D for ; Wed, 9 Mar 2011 16:26:35 +0100 (CET) Message-ID: <4D779C5F.3000301@eskk.nu> Date: Wed, 09 Mar 2011 16:27:27 +0100 From: Leslie Jensen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; sv-SE; rv:1.9.2.15) Gecko/20110307 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Installing squid, where should the directories be? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2011 15:45:21 -0000 Hello list. I'm installing squid on a new 8.2-RELEASE machine. I've done it it before with squid 2.x and I have notes to follow. A few questions have turned up. I have /usr/local/squid as default directory and has made a separate mount point. When it comes to the cache and the logs directory I can see that the squid installation has created the /var/squid/cache directory. When Googling this problem I see both the use of /var/squid and /usr/local/squid. Where should it be? When running the command squid -z to initialize the cache the cache directory must be there otherwise the command won't work. How should I set the permissions on /usr/local/squid and the directories below? I find what I consider conflicting information, often it's quite dated. I could not find any advise in the Handbook. I'll be happy to help making a squid chapter. Thanks /Leslie