From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 23:03:24 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A6B216A4CE for ; Wed, 12 Jan 2005 23:03:24 +0000 (GMT) Received: from mproxy.gmail.com (mproxy.gmail.com [216.239.56.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7F3B43D1D for ; Wed, 12 Jan 2005 23:03:23 +0000 (GMT) (envelope-from ggolan@gmail.com) Received: by mproxy.gmail.com with SMTP id x71so3495cwb for ; Wed, 12 Jan 2005 15:03:23 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=rsKY15wq0mAVc2ZaOB7xs8F1p5qhrw8qPWfNZE+BQnRbGTu8W3y29i9sfcMOz2dfefEFXj1oK9wtIi+d5DwqSJwbQc5Rjvh/KPgH54X0UnZq9SoExAVrv+G2zIFcQ557MPGGOainhLaddZk8NH6dTsdc0WZxOLVw27kZKFgwAyE= Received: by 10.11.100.80 with SMTP id x80mr282051cwb; Wed, 12 Jan 2005 15:03:23 -0800 (PST) Received: by 10.11.100.73 with HTTP; Wed, 12 Jan 2005 15:03:23 -0800 (PST) Message-ID: <1534551b05011215032348e616@mail.gmail.com> Date: Wed, 12 Jan 2005 18:03:23 -0500 From: Gadi Golan To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Apache Log Rotation & Statistics X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Gadi Golan List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jan 2005 23:03:24 -0000 Hi, What I am looking for here is some advice on what will be the best ways to acomplish what I have in mind. What I hope to acomplish follows, so any thoughts on how to do it, or if it is complex or impossible would be very helpful. I have Apache 2.x running with a collection of virtual hosts, each logging to their own access.log file. I want to offer log statistics to all of my virtual hosts on an individual basis. I want them to be able to go to say log.theirdomain.com or www.theirdomain.com/log and be able to view the statistics for their site from day x, week y, month z, year k, whatever. Ideally these logs will be stored compressed and in a directory specific to their virtual domain. I am sorry if I am not explaining this 100%, please feel free to ask me to clarify myself. Thanks much, Gadi Golan