From owner-freebsd-questions@FreeBSD.ORG Mon May 22 16:44:05 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 0E69816B916 for ; Mon, 22 May 2006 16:44:05 +0000 (UTC) (envelope-from matze@matzsoft.de) Received: from ds80-237-203-117.dedicated.hosteurope.de (ds80-237-203-117.dedicated.hosteurope.de [80.237.203.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3492D43D55 for ; Mon, 22 May 2006 16:44:03 +0000 (GMT) (envelope-from matze@matzsoft.de) Received: (qmail 46476 invoked from network); 22 May 2006 16:40:02 -0000 Received: from unknown (HELO ?192.168.0.4?) (matze@mausland-entertainment.com@85.182.76.29) by 0 with AES256-SHA encrypted SMTP; 22 May 2006 16:40:02 -0000 Message-ID: <4471EB16.9000101@matzsoft.de> Date: Mon, 22 May 2006 18:47:18 +0200 From: Mathias Menzel-Nielsen User-Agent: Thunderbird 1.5 (X11/20060317) MIME-Version: 1.0 To: Dave References: <200605201948.k4KJmQCm044360@darkstar.thelakecity.com.pk> <446F968E.7020106@matzsoft.de> <006d01c67db2$b7eb0000$0200a8c0@satellite> In-Reply-To: <006d01c67db2$b7eb0000$0200a8c0@satellite> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd questions Subject: Re: webalizer and apache 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: Mon, 22 May 2006 16:44:08 -0000 Dave wrote: > Hello, > I'm trying to get apache2 and webalizer to work together. So far all > i'm getting in my output is "Can not parse oversized line" from > webalizer. I'm assuming i don't have an apache log format set correctly, > i've got combined format set in both apache and webalizer. I was > wondering could i see your apache and webalizer log statements? > Thanks. > Dave. > Hi yes combined format is correct it should work if its declared. see excerpt from my httpd.conf: 8<--8<-- LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined CustomLog /var/log/httpd-access.log combined 8<--8< the first line should be already present in your httpd.conf so simply add the CustomLog line either at toplevel or in your virtualHost directive and it should work and my webalizer.conf : 8<--8<-- LogType clf 8<--8< a typical clf-log-format entry looks like this: xx.xx.xx.xxx - - [22/May/2006:18:35:25 +0200] "GET /foo HTTP/1.1" 404 293 "http://foohost/referer" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; de) Opera 8.50" greetings Matze