From owner-freebsd-questions Tue Jul 13 14:16:30 1999 Delivered-To: freebsd-questions@freebsd.org Received: from trixie.teamspirit.com (trixie.teamspirit.com [204.94.66.2]) by hub.freebsd.org (Postfix) with ESMTP id BB1B215343 for ; Tue, 13 Jul 1999 14:16:24 -0700 (PDT) (envelope-from preeper@cts.com) Received: from sgt361.teamspirit.com (dt2-blk1-hfc-0251-d1db0ca7.rdc1.sdca.coxatwork.com [209.219.12.167]) by trixie.teamspirit.com (8.9.2/8.9.1) with SMTP id OAA07518; Tue, 13 Jul 1999 14:31:24 -0700 (PDT) Message-Id: <3.0.5.32.19990713141158.008330b0@crash.cts.com> X-Sender: preeper@crash.cts.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Tue, 13 Jul 1999 14:11:58 -0700 To: Jorge Biquez , freebsd-questions@FreeBSD.ORG From: Jerry Preeper Subject: Re: Apache logging. Off Topic. I'm sorry. In-Reply-To: <3.0.6.32.19990713154844.00a98a70@intranet.com.mx> References: <378B8D32.22B16990@lmco.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Here is what I think should work for you. Looks like there might be a couple of typos in yours. Make sure to restart Apache too. LogFormat "%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined Jerry At 03:48 PM 7/13/99 -0500, Jorge Biquez wrote: >Hello all. > >I was wondering if some of you could help me. >I have the following configuration for my combibed custom log on apache: > >LogFormat "%h %l %u %t \"%r\" %>s %b %{referer}i -> %U %{user-agent}i" >combined >CustomLog /usr/home/sites/accesos.log combined > >According to the documentation of Apache 1.3 that should give me the >referer and the user agent. But this is part of what I receive: > >200.38.58.78 - - [13/Jul/1999:14:01:47 -0500] "GET /Backg01.gif HTTP/1.1" >200 13524 >165.236.189.200 - - [13/Jul/1999:14:01:50 -0500] "GET >/grlvirgo.htm HTTP/1.0" 200 4746 >208.235.169.50 - - [13/Jul/1999:14:01:50 >-0500] "GET /aries(3).gif HTTP/1.0" 304 - >165.236.189.200 - - >[13/Jul/1999:14:01:52 -0500] "GET /Backg01.gif HTTP/1.0" 200 >13524 >165.236.189.200 - - [13/Jul/1999:14:01:52 -0500] "GET /virgo(2).gif >HTTP/1.0" 200 6356 >208.235.169.50 - - [13/Jul/1999:14:01:54 -0500] "GET >/tauro(1).gif HTTP/1.0" 304 - >4.16.136.143 - - [13/Jul/1999:14:01:54 -0500] >"GET /images/foto07.jpg HTTP/1.1" 200 22709 >200.38.58.78 - - >[13/Jul/1999:14:01:54 -0500] "GET /cancer(1).gif HTTP/1.1" 200 6022 > >and my analysis software says there is not referer or user agent information. >I read the information and I think it is fine. > >Any ideas what's wrong with it? >ANyone would be so kind to share this part of his/her hhtpd.conf file? >I want to log ALL the information I can, the software I'm using is very >good and while more imformation I can give it the best. > >Thanks in advance, > >JB > > >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