From owner-freebsd-isp Wed Dec 13 7:22:55 2000 From owner-freebsd-isp@FreeBSD.ORG Wed Dec 13 07:22:50 2000 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mailman.thenap.com (mailman.thenap.com [209.190.0.10]) by hub.freebsd.org (Postfix) with ESMTP id 2D94737B400 for ; Wed, 13 Dec 2000 07:22:50 -0800 (PST) Received: by mailman.thenap.com with Internet Mail Service (5.5.2650.21) id ; Wed, 13 Dec 2000 10:33:19 -0500 Message-ID: From: "Drew J. Weaver" To: "'Nuttall, Matthew'" , freebsd-isp@freebsd.org Subject: RE: Apache web access logs Date: Wed, 13 Dec 2000 10:33:18 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C0651A.04BEA272" Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C0651A.04BEA272 Content-Type: text/plain; charset="windows-1252" When you specify each of your virtuals in the httpd.conf file you can add a line to each one of them to specify a different log path. ErrorLog /var/www/orbityl/error_log LogLevel Warn LogFormat "%h %l %u %t \"%r\" %>s %b\"%{Referer}i\" \"%{User-Agent}i\"" com$ LogFormat "%h %l %u %t \"%r\" %>s %b" common LogFormat "%{Referer}i -> %U" referer LogFormat "%{User-agent}i" agent This is an example, there is probably a command for AccessLog too, check http://www.apache.org Just list the ErrorLog or AccessLog path in your site definitions. -Drew -----Original Message----- From: Nuttall, Matthew [mailto:matthew.nuttall@sage.com] Sent: Wednesday, December 13, 2000 10:18 AM To: freebsd-isp@freebsd.org Subject: Apache web access logs Hi, I'm new to this Unix Lark, and I hope Im sending to the right list here, my problem is so ---------------- we are running apache and have around 100 virtual hosts, which I'm after setting up wwwstats for. I can get the program to work for the whole site ( I know not rocket science), but I'm wondering how to set it up for each virtual hosts. We were using seperate access logs for each one, but this kept crashing apache. So 1. Are there any scripts out there that could split up my original log. 2. Are there any better wwwstat programs (preferably implemented over a secure shell) 3. Its possible that one day we will have about a 1000 virtual hosts, is opening a log file for each of these feasible (ie no serious performance problems) Any advice, tips ,recipes welcome Matthew Nuttall, SysAdmin, Sage, Manchester. England. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message ------_=_NextPart_001_01C0651A.04BEA272 Content-Type: text/html; charset="windows-1252" Content-Transfer-Encoding: quoted-printable RE: Apache web access logs

        When you = specify each of your virtuals in the httpd.conf file you can add a line = to each one of them to specify a different log path.

  ErrorLog /var/www/orbityl/error_log
    LogLevel Warn
    LogFormat "%h %l %u %t = \"%r\" %>s %b\"%{Referer}i\" = \"%{User-Agent}i\"" com$
    LogFormat "%h %l %u %t = \"%r\" %>s %b" common
    LogFormat "%{Referer}i -> = %U" referer
    LogFormat = "%{User-agent}i" agent

This is an example, there is probably a command for = AccessLog too, check http://www.apache.org Just list the ErrorLog or = AccessLog path in your site definitions.

-Drew


-----Original Message-----
From: Nuttall, Matthew [mailto:matthew.nuttall@sage.com= ]
Sent: Wednesday, December 13, 2000 10:18 AM
To: freebsd-isp@freebsd.org
Subject: Apache web access logs


Hi,
  I'm new to this Unix Lark, and I hope Im = sending to the right list here,
my problem is so

----------------
we are running apache and have around 100 virtual = hosts, which I'm after
setting up wwwstats for.
I can get the program to work for the whole site ( I = know not rocket
science), but I'm wondering how to set it up for = each virtual hosts.

We were using seperate access logs for each one, but = this kept crashing
apache.  So

1.  Are there any scripts out there that could = split up my original log.
2.  Are there any better wwwstat programs = (preferably implemented over a
secure shell)
3.  Its possible that one day we will have = about a 1000 virtual hosts, is
opening a log file for each of these feasible (ie no = serious performance
problems)

Any advice, tips ,recipes welcome

Matthew Nuttall,
SysAdmin,
Sage,
Manchester.
England.


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

------_=_NextPart_001_01C0651A.04BEA272-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message