Koozali.org: home of the SME Server

PHP or Perl & http-log

Thor Anthrax

PHP or Perl & http-log
« on: August 06, 2001, 11:31:35 PM »
Does anyone know a PHP (or maybe perl?) script that can read and understand the log from http? I would like to know what pages are most visited and stuff...Of course I could use some of those trackers, but why would I when my very own server logs is all for me. Now if I could just read them out...

Thank in advance,
Thor Anthrax

Lloyd Keen

Re: PHP or Perl & http-log
« Reply #1 on: August 07, 2001, 03:08:15 AM »
Thor,
If you go to mynetwatchman.com they have a program that reads the firewall log and sends an e-mail re intrusions. There are two programs WebAgent and PerlAgent, you might be able to get the PerlAgent to do what you want. I haven't tried it so I'm not sure.

Thor Anthrax

Re: PHP or Perl & http-log
« Reply #2 on: August 07, 2001, 03:39:38 AM »
I took a look at the site and it seems a good program to me...for firewall programs (as you can see here: http://mynetwatchman.com/ftagent.htm)

It's not what I'm looking for, but thanks for trying.

Anyone else?

Blake Heinemann

Re: PHP or Perl & http-log
« Reply #3 on: August 07, 2001, 06:04:07 AM »
Check the contributed howto section of e-smith.org for the how-to on AWstats.  It will analyse your httpd log files for all your domains and breakdown everything.  I installed it and it works great. It installs a link into your esmith manager.

http://www.neddix.de/e-smith/misc/awstats.php

Thor Anthrax

Re: PHP or Perl & http-log
« Reply #4 on: August 07, 2001, 06:14:23 AM »
Thank! That is even better then I had in mind!!!

Beno

Re: PHP or Perl & http-log
« Reply #5 on: August 08, 2001, 12:50:15 PM »