From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E1jbf-0004b7-50 for garchives@archives.gentoo.org; Sun, 07 Aug 2005 11:46:19 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j77Bj7NO011141; Sun, 7 Aug 2005 11:45:07 GMT Received: from s2.stud.uni-goettingen.de (s2.stud.uni-goettingen.de [134.76.60.22]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j77BfJUO032362 for ; Sun, 7 Aug 2005 11:41:19 GMT Received: from vpn-3039.gwdg.de ([134.76.3.39] helo=butch.nik13.home) by s2.stud.uni-goettingen.de with asmtp (TLSv1:AES256-SHA:256) (Exim 4.22) id 1E1jWw-0004hW-Ri for gentoo-user@lists.gentoo.org; Sun, 07 Aug 2005 13:41:26 +0200 Date: Sun, 7 Aug 2005 13:40:00 +0200 From: Hans-Werner Hilse To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] [OT] recomendations for web stats in php Message-Id: <20050807134000.7c712c59.hilse@web.de> In-Reply-To: <42F4D8A2.9040603@gmx.net> References: <42F4D8A2.9040603@gmx.net> X-Mailer: Sylpheed version 2.0.0beta5 (GTK+ 2.6.8; i386-pc-dragonfly1) X-Face: ?%{N&v`I$/2&hU/l[fz~s5ETugSOp`~y,.e%_7S0cRnkJ!hD&DbkIR;;>t`-uvSs1,][|;;Z0|SS=_yW(db!q|_s/q"G^.qrVrk4;&.1fg8lZ@Kn=&`ePL.e.N{ZIS%ZN%+O4(xa9=j[HXpQdlGrr'%xZ]vQp1doD"u"W%qM$w$ySo@t,&$A1]\unoo@d"X{)Wa2MaW-axG|lRiC;/gVmgI Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: bdca9df4-16a7-423f-bcfb-2b28ef62d0a0 X-Archives-Hash: 3eb64dc2d6ac8145956c71c3a693578b Hi, On Sat, 06 Aug 2005 12:34:58 -0300 Mauro Faccenda wrote: > I have an customer that has a website hosted in a chrooted environment > and want a stats page (hits, origin, etc...) I have access to the apache > logs but I don't have a shell access, so I was thinking if there is any > php script that reads the log file and plots a nice web page with those > stats. > > Or can anyone suggest another solution? Hm, I don't think using a simple php script would work very reliably. Parsing the log files can become a heavy task depending on the logfile's size. So I think it's always the best solution to run the analyzer from command line. You could e.g. run the analyzer on a different host where you have command line access and can run that scripted every night. The resulting stats pages and graphs can then be synced back to the web- only server. Another possibility would be to use desktop programs for the logfile analysis. I don't know of good free programs here, but at least there are a few very professional commercial ones. Both solutions only require access to the logfile which you told you have. -hwh -- gentoo-user@gentoo.org mailing list